titanium - A letter '%' is doubled on Android -


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 further investigation of titanium encodeuricomponent returns different value ios / android

it might 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 


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -