Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (international)
Viewing all articles
Browse latest Browse all 6

Do I need to encode international characters - or: I'm missing something?

$
0
0

SDK 4.1 Titanium Mobile 1.4.0

Using international chars like ÅÄÖ in a string in Titanium results in a crash:

[ERROR] error loading path: file://localhost/Users/Jocke/Desktop/titanium/blank/blank/Resources/app.js, Error Domain=NSCocoaErrorDomain Code=261 "The operation couldn’t be completed. (Cocoa error 261.)" UserInfo=0x7e26130 {NSFilePath=/Users/Jocke/Desktop/titanium/blank/blank/Resources/app.js, NSStringEncoding=4}

Encoding it manually in Unicode works, is that the only way or am I missing something?

Thanks!

/J


Viewing all articles
Browse latest Browse all 6

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>