http://qs321.pair.com?node_id=152772


in reply to trouble with umlauts

I think Biker is on the best way by using the hex values. But, since i just finished a problem with this at work, i thought i would make one addition. Mine was not a CGI form,so this may not apply to you, but i found that windows installed as German, and Windows installed as English both have the ü character, but with diffrent hex values, which may make it difficult.
from the frivolous to the serious

Replies are listed 'Best First'.
Re: Re: trouble with umlauts
by nefertari (Chaplain) on Mar 19, 2002 at 17:38 UTC
    Something like this could be the problem here. one of our root people checked what happened to an ö, and it changed somehow its value to two characters. But why does it match every second time?

    By the way, where can i find the hexcodes for the umlauts and the esszet?

      "where can i find the hexcodes for the umlauts and the esszet?"

      sprintf("%lx",ord('X')); # That's an ell, not a one.

      That should give you the hex value of the character 'X'.


      Everything will go worng!