CFBundleDisplayName with swedish characters fails with UnicodeDecodeError
Hi. I'm building an app that has to have a Swedish name with the character 'ä' in it.
Since it seems impossible to change the CFBundleDisplayName in Titanium I have copied the Info.plist file to my project root and modified it instead so it now contains the correct display name.
Unfortunately this does not seem to be working with Titanium Mobile since builder.py fails miserably each time I attempt to build.
This is the message that is output in build.log:
Exception detected in script:
Traceback (most recent call last):
File "/Library/Application Support/Titanium/mobilesdk/osx/1.4.0/iphone/builder.py", line 609, in main
write_info_plist(infoplist_tmpl)
File "/Library/Application Support/Titanium/mobilesdk/osx/1.4.0/iphone/builder.py", line 529, in write_info_plist
plist = plist.replace('__PROJECT_NAME__',name)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 326: ordinal not in range(128)
Edit: This is on Titanium Developer 1.2.1, SDK 1.4.0, Iphone SDK 4.0
I'm supposed to release this application asap but this is what's holding me back. Feels a little silly :/
Appreciate any help.
1 Answer
-
I have the same problem. Have you found any solution?