LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   gencat and Japanese text - compile error (https://www.linuxquestions.org/questions/linux-general-1/gencat-and-japanese-text-compile-error-58546/)

gjarman 05-07-2003 06:25 AM

gencat and Japanese text - compile error
 
Hello,
I am trying to compile a .msg file into a .cat file using gencat. The .msg file has English strings and I have added one Japanese string. It compiles successfully when only English strings are present, but I get the following error when the Japanese string is present:
nlsfile.ja_JP.msg:1410: invalid character: message ignored
I have tried both of the following with no joy:
>LANG=ja_JP.eucJP gencat nlsfile.ja_JP.cat nlsfile.ja_JP.msg
and
>gencat nlsfile.ja_JP.cat nlsfile.ja_JP.msg
Does anyone have any ideas?
Thanks

rasmib 09-29-2003 05:58 AM

Hi, I too am facing the same problem
ie
"invalid character: message ignored" error message when I use input file containing Japanese characters for gencat.

If you have solved it, please let me know

Regards

gjarman 09-29-2003 09:20 AM

possible fix
 
Have you got the fonts installed on the machine on which you are compiling?

gjarman 09-29-2003 09:26 AM

If you are, for example, using
LANG=ja_JP.eucjp gencat ...
then you must ensure that ja_JP.eucjp is installed on your machine.
You can do this by running locale -a | grep ja. You should see eucjp in your output from this command.


All times are GMT -5. The time now is 04:31 PM.