I'm trying to builder an installer with allowedLanguages set to "en es ja zh_TW zh_CN de" languages. When trying the installer on Linux (RHE Linux v5.3), characters from all non-English languages are rendered inaccurately. See below:

" Language Selection

Please select the installation language [1] English - English [2] Spanish - Español [3] Japanese - æ¥æ¬èª [4] Traditional Chinese - ç¹ä½ä¸­æ [5] Simplified Chinese - ç®ä½ä¸­æ [6] German - Deutsch Please choose an option [1] : "

I'm setting the "LANG" variable to the language code and exporting it, but still get the characters rendered as above. Is there anything else I need to do? do I need to reboot the box after setting LANG?

Thanks, Reddy

asked 26 Nov '12, 16:35

laxmireddy's gravatar image

accept rate: 0%

For text mode, the LANG variable specifies both the language and output encoding. You should set it to your preferred language and current encoding of your terminal. Usually terminals use UTF-8 mode, so you should do:

 export LANG=en_US.UTF-8

This will cause the installer to print text in UTF-8 mode.

If your terminal is not in UTF-8 mode, simply change it, or set the LANG to same encoding as your terminal uses.

If this also happens in GUI mode, which InstallBuilder are you using? Regular or Qt version? Can you check what happens when running the installer with --mode xwindow:

$ ./installer.run --mode xwindow

If this is InstallBuilder for Qt, can you also try:

$ ./installer.run --mode gtk

answered 27 Nov '12, 05:01

wojciechka's gravatar image

wojciechka ♦♦
accept rate: 26%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 26 Nov '12, 16:35

Seen: 779 times

Last updated: 27 Nov '12, 05:01