PDA

View Full Version : Character coding


J_Caesar
03-20-2009, 06:00 PM
I have character coding problem as shown in attachment or in the following link:

http://webthehinh.com/tai-lieu/

article number 2.

In here, I see this character � instead of the correct utf-8 character. This problem only occurs before the dots ... and on some characters.

How can I fix this :)

Brian
03-23-2009, 11:11 AM
Have you removed the article since then, or do you have your permissions set not to allow guests to view your articles? I checked the link you posted above to view the source code, but it just shows "No Bài báo to Display".

Our Sponsors
 

J_Caesar
03-24-2009, 02:38 AM
Thanks Brian

We restructured the site a bit, the new link is:
http://webthehinh.com/tai-lieu/

This problem only occurs on some utf8 character, in the above link the character being converted to � is ứ.

wc3 validator gives this error:
http://validator.w3.org/check?uri=http%3A%2F%2Fwebthehinh.com%2Fdynamics%2Fcc-sn-phm-h-tr-28%2F&charset=(detect+automatically)&doctype=Inline&group=0&user-agent=W3C_Validator%2F1.606

Brian
03-24-2009, 10:47 AM
I've done some testing locally to try to reproduce the issue, but I'm not having any luck. If you would like to submit a support ticket though I'll be glad to take a look at things on your site to see what the issue is.

Our Sponsors
 

J_Caesar
03-24-2009, 03:40 PM
Ticket submitted :)

xopek
11-28-2009, 07:25 PM
Ticket submitted :)

Hi Brian,

Did you get anywhere with this ticket?.. I'm having very similar issues on my forum.. Is there a working solution for this issue?..

Thanks!

xopek
11-28-2009, 08:50 PM
Hi Brian,

Did you get anywhere with this ticket?.. I'm having very similar issues on my forum.. Is there a working solution for this issue?..

Thanks!

Looking at the code - it seems that you use not multibyte aware functions in many places when working with strings.. presumably carefull global move to mb_ functions should to the trick?..

Brian
11-30-2009, 11:19 AM
In Ceasar's case it seemed to be a weird issue with the WYSIWYG. I just edited an entry on his site, saved, and the issue did not appear again.