How can I get country specific keyboard input?

How can I get country specific keyboard input?

I’m not afraid of snakes (python snakes)

My current keyboard script converts keys from there ASCII value to char
value but It doesn’t handle country specific keys. I don’t get any
ASCII value from them.

Somebody know if with pygame or something its posible to get special symbols? like ñ and these things ? thanks.