Posts archive for June, 2007

PHP: How to convert ISO character (HTMLEntities) to UTF-8?

advertisement

convert htmlentities to utf8, convert iso to utf8, convert string to utf-8, convert string to utf8, php character encoding problem, php convert iso to utf8, php how toI’m facing problem in how to convert string from ISO to UTF8 previously. Due to the server configuration problem, all the UTF-8 char has been convereted into ISO (HTMLEntities) before it insert into db and those ISO character (HTMLEntities) break while showing in XML document. Now i found the solution to convert ISO character into UTF-8.

The original utf-8 chinese words: “你好”.
Converted to ISO (HTMLEntities) : “你好”

For you to convert the ISO string “你好” to become utf-8 chinese words: “你好”, you need to use Multibyte String function (or mbstring extension). Example below uses mb_convert_encoding function to convert ISO (HTMLEntities) characters to UTF-8:-

Continue reading PHP: How to convert ISO character (HTMLEntities) to UTF-8? »

Fckeditor – File Manager Session Problem in IE7

advertisement

fckeditor, free software, open source software, oos, software, online html editor, fckeditor session problemI’m using FCKEditor for one of my project and it works brilliant for IE6, Firefox 1.5x. When we did the testing on IE7, the file manager shows some error. Before this we did some fine tune to allow only authenticated user to use FCKEditor and it’s file manager to upload pictures. Now it shows user not authenticated and it can’t even get all the session data.

We spend a lot of time go thru our code to check if our session setting having any problem, but no luck. After googling for some times, finally found out that, there is a variable we need to set in FCKEditor to solve the file manager session problem.

To solve the file manager session problem follow the steps below:-

Continue reading Fckeditor – File Manager Session Problem in IE7 »