[TIMOB-24692] A letter '%' is doubled on Android
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | whitebear |
Assignee | Unknown |
Created | 2017-05-10T12:22:45.000+0000 |
Updated | 2018-02-28T19:55:11.000+0000 |
Description
------------------
var myname = "%";
Ti.API.info("test:" + myname);
This simple code shows wrong output on Android
Android
[INFO] test:%%
iOS
[INFO] test:%
---------------------
Reproduction procedure:
1.Create new project,
2.Paste this code below in app.js
var myname = "1%1";
Ti.API.info("test:" + myname);
var myname = "1\%1";
Ti.API.info("test:" + myname);
var myname = '1%1';
Ti.API.info("test:" + myname);
3:Build and run on android.
--------------------
Result
[INFO] test:1%%1
I might have no privilege to make issue for titanium SDK project, I made mistake writing for Aptana Studio Project.