问题
Environment Titanium 6.0.3.GA / 6.0.2.GA / 6.0.1.GA
var myname = "%";
Ti.API.info("test:" + myname);
This simple code shows different output
Android
[INFO] test:%%
iOS
[INFO] test:%
THis is the further investigation of Titanium encodeURIComponent returns different value iOS / Android
It might be bug or not ??
I tried these too
var myname = "1%1";
var myname = '1%1';
var myname = "1\%1";
Everything shows (on Android)
[INFO] test:1%%1
来源:https://stackoverflow.com/questions/43251742/a-letter-is-doubled-on-android