Charset of Textitem
Hi,
We have a PHP and MYSQL system which generates a JSX file for design.
It pulls one value out of the database and via php to the jsx file.
We have an issue with some characters which are set in the UTF8 charset, which are correctly displayed in the database and in PHP and HTML.
But when set in photoshop code, it causes issues and displays them incorrectly.
For example
activeDocument.activeLayer.textItem.contents="""' . $rs_item['slogan_name'] . '""";
Du ser mig kun for det tøj jeg har på
This displays correctly in php, mysql etc, but when set in photoshop it displays to:
Du ser mig kun for det tøj jeg har på
Is there a way to set a charset for a value for photoshop?
I tried
activeDocument.activeLayer.textItem.encoding = "UTF8";
but i dont think there is such a value for textitem?
Thanks
