Client wants a few pages in Chinese!!
Permalink
A client is asking if its possible to have a few pages on his site duplicating and translating into Chinese, he has the text already translated and I have duplicated the pages but when I paste the chinese in it just shows up as question marks.
I guess its something to do with the doctype which I currently have as:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en">
I have tried adding
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> to the head section and removing <html lang="en"> but this doesn't seem to work. I'm not an expert when it comes to this king of stuff so can this be easily done?
Thanks in advance.
I guess its something to do with the doctype which I currently have as:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en">
I have tried adding
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> to the head section and removing <html lang="en"> but this doesn't seem to work. I'm not an expert when it comes to this king of stuff so can this be easily done?
Thanks in advance.
Update...
I have done a work around for this which is a bit of a pain but it works (luckily he only wants 4 pages in chinese).
I have set up a separate page type for each page that needs to be in chinese and just hardcoded the translated text into the html.
This works fine but I would love to know why when its added in the content editor it becomes question marks when the update button is clicked.
Please let me know if anybody has a solution to this.
Cheers:-)
I have done a work around for this which is a bit of a pain but it works (luckily he only wants 4 pages in chinese).
I have set up a separate page type for each page that needs to be in chinese and just hardcoded the translated text into the html.
This works fine but I would love to know why when its added in the content editor it becomes question marks when the update button is clicked.
Please let me know if anybody has a solution to this.
Cheers:-)
Please refer to the following link
http://www.concrete5.org/community/forums/internationalization/unic...
http://www.concrete5.org/community/forums/internationalization/unic...
Here is what works fine when set up as a static html file...
I have done the exact same doctype and charset in my concrete header and added the <p lang="zh" xml:lang="zh" dir="ltr"> into my page but as soon as I hit update it changes all the characters to ?????
guess i'm missing something, just wondered if I need to set up <meta http-equiv="content-type" content="text/html; charset=utf-8" /> as a page attribute like the meta description etc but not sure how to go about this.