[TIMOB-18322] Windows: Need to support UTF-8 characters
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-04-07T19:36:33.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 4.1.0 |
Components | Windows |
Labels | n/a |
Reporter | Kota Iguchi |
Assignee | Kota Iguchi |
Created | 2015-01-06T20:52:00.000+0000 |
Updated | 2015-07-07T23:42:21.000+0000 |
Description
Need support for UTF-8 characters.
Ti.API.info("網上廣東話輸入法");
var bn = Ti.UI.createButton({title:"網上廣東話輸入法"});
should be...
Attachments
File | Date | Size |
---|---|---|
79c36970-5f30-11e4-8422-08cf7491549a.png | 2015-01-06T20:52:00.000+0000 | 2504 |
7bb520a2-5f30-11e4-8eca-983845402b74.png | 2015-01-06T20:52:00.000+0000 | 2742 |
Ti.API.info("網上廣東話輸入法");
doesn't work. I find thatTITANIUM_LOG_XXX
macro doesn't work whenstd::string
contains utf8 chars. Also I can see that somewstring
appeared in Titanium modules, which should have been handled byTitaniumWindows::Utility::ConvertUTF8String
functions.https://github.com/appcelerator/titanium_mobile_windows/pull/168
This happens again, while porting corporate app. Ti.API.log functions doesn't support UTF-8 characters.
https://github.com/appcelerator/titanium_mobile_windows/pull/207
Verified using: Windows 8.1 Appc CLI (NPM): 4.1.0-1 Appc CLI (Registry): 4.1.0-6 Ti SDK: 4.1.0.v20150706111546 Appc Studio: 4.1.0.201507061719 Using the attached sample the characters appears as expected Closing ticket