ZenphotoCMS Forum
Working with hebrew on tiny_mce editor - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html)
+--- Thread: Working with hebrew on tiny_mce editor (/thread-4492.html)



Working with hebrew on tiny_mce editor - itaymesh - 18-01-2009

Hi,

I started using zenpage this evening.
Great plugin!!!

I discovered that when editing Hebrew content with the tiny_mce editor
and clicking on the 'Update Article' button the letters are being converted to gibberish.
The solution is to add to the 'htmlentities' function that appears both on
page-edit.php and news-article-edit.php the encoding parameter:
htmlentities($result['content'],null, 'UTF-8')
instead of htmlentities($result['content'])

Hope it helps someone, somewhere.




Working with hebrew on tiny_mce editor - acrylian - 18-01-2009

Thanks! I will test and then add your fix to the svn soon.

Update: It's in the svn now.