This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: Display of localized license files in License Agreemnet panel
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 04, 2008
06:01 PM
Display of localized license files in License Agreemnet panel
I have localized license files in my IA project, and everything seems good with this, except that when these are displayed in the License panel during an install, they don't display correctly.
The files I think are UTF-16 text files, and when English, French, German etc license files are displayed, every character is double-spaced, plus there are some odd characters displayed here and there.
None of the text editors I have show any problem displaying the file contents.
Am I missing some config step in the designer UI to tell it these aren't ascii files? I've searched but I can't find anything.
Anyone know what might be wrong or how to resolve it?
The files I think are UTF-16 text files, and when English, French, German etc license files are displayed, every character is double-spaced, plus there are some odd characters displayed here and there.
None of the text editors I have show any problem displaying the file contents.
Am I missing some config step in the designer UI to tell it these aren't ascii files? I've searched but I can't find anything.
Anyone know what might be wrong or how to resolve it?
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 07, 2008
03:17 AM
What type of files are your EULAs? I use HTML files for GUI mode installation and text files (with ASCII characters only) for text mode installation.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 07, 2008
01:22 PM
The license files are utf-16 encoded, I think.
In hex, the beginning of the file looks like this:
FFFE49006E007400650072
In a text editor (I use Textpad but Notepad behaves the same), the beginning FFFE is ignored, as are the null bytes, so you get Inter (etc.)
In the IA license panel, you get ÿþI n t e r (etc.)
So it seems to expect ascii and doesn't understand the double byte.
Also, in what may be a related issue, when I run the installer, for language choices, I get only English and other western European languages for choices, but I have other locales selected in Project - Locales. For example, I have en, fr, de, ja, tr and zh_CN checked, and locale files are generated for them. But when I run the installer, only English, Deutsch and Francais are presented as choices.
For any of these 3 choices, the manner of display of the license file is the same, ÿþ(letter)(space)(letter) etc.
Any thoughts or clarification would be much appreciated!
In hex, the beginning of the file looks like this:
FFFE49006E007400650072
In a text editor (I use Textpad but Notepad behaves the same), the beginning FFFE is ignored, as are the null bytes, so you get Inter (etc.)
In the IA license panel, you get ÿþI n t e r (etc.)
So it seems to expect ascii and doesn't understand the double byte.
Also, in what may be a related issue, when I run the installer, for language choices, I get only English and other western European languages for choices, but I have other locales selected in Project - Locales. For example, I have en, fr, de, ja, tr and zh_CN checked, and locale files are generated for them. But when I run the installer, only English, Deutsch and Francais are presented as choices.
For any of these 3 choices, the manner of display of the license file is the same, ÿþ(letter)(space)(letter) etc.
Any thoughts or clarification would be much appreciated!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 07, 2008
04:26 PM
Hi, a little more research and I think I've found the answer to my question.
Found an article in the IA knowledge base that says that IA requires the use of escaped Unicode documents and strings for display of non-Western characters, and suggests the use of Java's native2ascii binary to make the converson.
Also the FFFE at the head of the file indicates the file is UTF16LE. When that's passed as a parameter to native2ascii, the Western European language license files convert and are displayed properly, and I expect that the non-Western European license files will display correctly also. 🙂
Found an article in the IA knowledge base that says that IA requires the use of escaped Unicode documents and strings for display of non-Western characters, and suggests the use of Java's native2ascii binary to make the converson.
Also the FFFE at the head of the file indicates the file is UTF16LE. When that's passed as a parameter to native2ascii, the Western European language license files convert and are displayed properly, and I expect that the non-Western European license files will display correctly also. 🙂
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)