Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.6.3
-
None
-
15a7626480b64d85992bed819fe6052e0c5c8fa9
Description
So that users can have non ASCII characters in their applicaton installer.
The package format accepted by the symbian tools is unicode (UTF8 or UTF16 are accepted)
During the reading of the .pro file or the writing of the .pkg file, data is lost through a conversion to ascii.
From this forum post:
http://developer.symbian.org/forum/showthread.php?p=29676#post29676
I got the following error when developing my multi-lingual application:
--------------------
Starting: "C:/NokiaQtSDK/Symbian/SDK/epoc32/tools/make.exe" sis
make -s -f Makefile ok_sis
error: cannot convert file to unicode
error: make sure .PKG and .TXT files are either UTF8 or UNICODE
Detecting illegal UTF8 character at position 0xAE: 0x20
Detecting illegal UTF8 character at position 0xAF : 0xFFFFFFA1
--------------------
The well-known change-windows-regional-and-language-options hack does not work in my case. In fact, the pkg file generated by Qt has the correct datetime stamp even without the need for me to change the Regional and Language Options.
--------------------
; catch24_installer.pkg generated by qmake at 2010-10-08T20:28:55
--------------------
The problem lies in the multi-lingual program name:
--------------------
#
,(0x12345678),1,2,3
--------------------
The names in non-English are specified in .pro file which is correctly saved as UTF-8, but the Qt-generated .pkg files seem to be always in ANSI. Hence the error. Changing the Qt Creator Environment (Tools->Options->Environment->General) Default file encoding to UTF-8 does not solve the problem.
How could I direct Qt to use UTF-8 in generating the project .pkg files then?