Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-16780] BlackBerry: Bug in arabic data into local files

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionHold
Resolution Date2015-04-14T17:12:25.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsBlackBerry
Labelslook1, parity
ReporterHazem Khaled
AssigneePedro Enrique
Created2014-02-13T11:08:31.000+0000
Updated2017-03-16T20:22:28.000+0000

Description

Issue description

This code working fine Arabic & English for Android, iOS and Mobile Web, but Arabic encoding is wrong on BlackBerry 10.

Reproducible code

var url = 'strings.xml';
var file = Ti.Filesystem.getFile(Ti.Filesystem.resourcesDirectory, 'assets/strings.xml');
var xmltext = file.read().text;
alert(xmltext);

Console Output

[INFO]  Running: blackberry-nativepackager -package build/BlackBerryTests.bar bar-descriptor.xml -configuration Simulator-Debug
[INFO]  Please wait...
[INFO]  Info: Package created: build/BlackBerryTests.bar

[INFO]  Running: blackberry-deploy -installApp -launchApp -device 172.16.153.129 -password "" build/BlackBerryTests.bar
[INFO]  Please wait...
[INFO]  Info: Sending request: INSTALL_AND_LAUNCH
Info: Action: Install and Launch
Info: File size: 18529517
Info: Installing com.appc.tests.testRel__appc_tests75b28622...
Info: Processing 18529517 bytes
Info: Progress 6%...
Info: Progress 8%...
Info: Progress 100%...
Info: Progress 100%...
actual_dname::com.appc.tests.testRel__appc_tests75b28622
actual_id::testRel__appc_tests75b28622
actual_version::1.0.0.1
result::success
Info: Launching com.appc.tests.testRel__appc_tests75b28622...
result::228012180
Info: done

[INFO] inside "app/native/_private_assets_/ti.xml/module.js" module
[INFO] inside "app/native/_private_assets_/ti.xml/dom-parser.js" module
[INFO] inside "app/native/_private_assets_/ti.xml/sax.js" module
[INFO] inside "app/native/_private_assets_/ti.xml/dom.js" module
[INFO] loading xml module

Attachments

FileDateSize
IMG_20140213_130047.png2014-02-13T11:08:31.000+000081911
IMG_20140213_130310.png2014-02-13T11:08:31.000+000081817
strings.xml2014-02-13T11:08:31.000+000012551
TC-3757_BlackBerry Simulator Screen shot Mar 27, 2014 4.43.50 PM.jpg2014-03-27T23:10:21.000+0000129314
TC-3757_DroidRazr Screen shot Mar 27, 2014 4.43.50 PM.png2014-03-27T23:10:21.000+0000160527
TC-3757_iOS Simulator Screen shot Mar 27, 2014 4.43.50 PM.png2014-03-27T23:10:21.000+0000307366

Comments

  1. Hazem Khaled 2014-02-25

    Maybe we need to fix unicode like this fix? https://github.com/appcelerator/titanium_mobile_blackberry/commit/c377f3a34f7c43ac31c65bf59fcfe187665030d4
  2. Hazem Khaled 2014-03-10

    Check this app to test Arabic support https://github.com/HazemKhaled/TiBB10Arabic
  3. Ingo Muschenetz 2015-04-14

    Placing these items on hold for the moment based on community interest.
  4. Lee Morris 2017-03-16

    Closing ticket as BlackBerry is no longer supported by us.

JSON Source