php - <expandproperties /> and encoding with phing -
i have static application (html/js) must put online in 2 different languages. while it's not hard copy whole directory twice , replace each string, it's kind of boring , expect see regular changes on project.
thus considered building 2 versions of project (fr , nl) phing. idea use <filterchain><expandproperties />, , load translations property files.
it works quite well, 1 thing: unicode characters represented \uxxx, which, obviously, not want...
any idea on how can fix ? excerpt of build.xml can found here: http://pastebin.com/2uwhahvi
solution: turns out it's alright phing. problem ide replaced character transparently \uxxx equivalent. if having same problem, try opening file simple text editor.
Comments
Post a Comment