Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

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.

— asked October 14th 2010 by Christopher Cato
  • cfbundledisplayname
  • display
  • icon
  • iphone
  • mobile
  • name
  • titanium
1 Comment
  • Can I change something in builder.py to allow for utf8 in CFBundleDisplayName?

    — commented October 15th 2010 by Christopher Cato

1 Answer

  • I have the same problem. Have you found any solution?

    — answered November 29th 2011 by Kristof Gruber
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.