Archive: nsDialogs Textbox converts some unicode characters to ASCII


nsDialogs Textbox converts some unicode characters to ASCII
I've noticed that when I type 'Ć' (U+0106) in an nsDialogs textbox it converts it to ASCII 'C' (43) but when I type 'å' (U+00E5) it does no conversion. This happens for a number of characters. I can't list them all here.

This causes problems because I am trying to detect when a user types in non-ASCII characters. I can't detect 'Ć' (U+0106) as unicode because it is getting converted it to ASCII before I can do any kind of check on it.

Does anyone know if there a way I can get around this?


NSIS is not Unicode enabled. You can try Jim Park's port or the latest nightly build for Unicode support.


Unicode NSIS:
http://code.google.com/p/unsis/downloads/list