Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18322] Windows: Need to support UTF-8 characters

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2015-04-07T19:36:33.000+0000
Affected Version/sn/a
Fix Version/sRelease 4.1.0
ComponentsWindows
Labelsn/a
ReporterKota Iguchi
AssigneeKota Iguchi
Created2015-01-06T20:52:00.000+0000
Updated2015-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

FileDateSize
79c36970-5f30-11e4-8422-08cf7491549a.png2015-01-06T20:52:00.000+00002504
7bb520a2-5f30-11e4-8eca-983845402b74.png2015-01-06T20:52:00.000+00002742

Comments

  1. Kota Iguchi 2015-03-17

    Ti.API.info("網上廣東話輸入法"); doesn't work. I find that TITANIUM_LOG_XXX macro doesn't work when std::string contains utf8 chars. Also I can see that some wstring appeared in Titanium modules, which should have been handled by TitaniumWindows::Utility::ConvertUTF8String functions.
  2. Kota Iguchi 2015-03-17

    https://github.com/appcelerator/titanium_mobile_windows/pull/168
  3. Kota Iguchi 2015-04-06

    This happens again, while porting corporate app. Ti.API.log functions doesn't support UTF-8 characters.
  4. Kota Iguchi 2015-04-07

    https://github.com/appcelerator/titanium_mobile_windows/pull/207
  5. Ewan Harris 2015-07-07

    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

JSON Source