how to create a text layer with special characters
Hi guys,
I'm doing the following things, but now i encountered some problems.
I will get a xml file from remote host, then use this file to create a psd file, but if the file contains some special characters, the psd file don't render properly. Can anyone help me to solve the problem? The xml file use UTF-8 encoding.
the xml file just like:
<?xml version="1.0" encoding="UTF-8" ?>
<HelloEncodingWorld>Üöäüßßß Test!!!</HelloEncodingWorld>
here is my sample coding.
var script = '';
var assetUrl = ServerURL+xmlFile;
var http = new HttpConnection(assetUrl);
http.request;
http.method = "GET";
http.response;
http.execute() ;
var tmpStr = String(http.response);
var xmlString = new XML(tmpStr);
//create psd file script
script += "";
//execute
var bt = new BridgeTalk();
bt.target = "photoshop";
bt.body = script;
bt.send();
