Thanks for the tip, David. You
are right, splitting the string, as you suggest in option 1 below, does
work. And yes, I just checked Notepad and, sure enough, if I type
an 'ñ' and save it as UTF-8, it stores 0xC3 0xB1. But I just can't...I
can't...I can't... ;-)
Cheers,
Gil Glass
Telecom Field Services
JDSU
Germantown, MD, USA
+1-240-404-2551
> Thank you very much! That seems to have done the trick!! I
was only
> setting the locale for LC_MESSAGES. Changing it to LC_ALL worked.
>
> Also, I found that, if I left the escape sequences in the .po file
> (\xC3\xA1), then it didn't work. However, if I entered the "raw
UTF-8"
> directly by typing ALT+0195 (0xC3) and ALT+0161 (0xA1), it did work.
I am
> assuming that this is what you mean by raw UTF-8 below. While
my editor
> is not actually UTF-8 aware, it does let me enter non-ASCII 8-bit
> characters by holding down <ALT> and typing the value in decimal.
Yes, I
> hang my head in shame as I admit that I'm editing on a Windows PC.
:-)
1.) "ma\xC3\xB1ana" can be broken into "ma\xC3\xB1"
"ana" (in real C code;
I don't know if this works in .po files)