Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Well actually they turn into question marks such as ?? or ??? or ????. Get it?
I am using the richtext editor to input chinese characters. Upon saving or publishing they turn into question marks.
My umbraco settings file reads as such:
<!-- the encoding type for tidy. Default is UTF8, options are ASCII, Raw, Latin1, UTF8, ISO2022, MacroMan--><TidyCharEncoding>UTF8</TidyCharEncoding>
Does anyone know how to get this to work?
Do they turn into question marks in the Umbraco backend or do they turn into question marks on the published page?
Either way try chaning your encoding to "gb2312" in the settings file if it's in Umbraco or try setting this in you HTML markup if it's on the pages
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
@Jan - I changed the umbracoSettings config to the following since it was happening in the backend:
<!-- the encoding type for tidy. Default is UTF8, options are ASCII, Raw, Latin1, UTF8, ISO2022, MacroMan--><TidyCharEncoding> gb2312 </TidyCharEncoding>
And got the following:
Exception Details: System.ArgumentException: Requested value 'gb2312' was
Changing it back to UTF8 still gives me lovely, but frustrating question marks. I am using traditional Chinese characters so I tried to use ISO2022 and got this error upon trying to save and publish:
Exception Details: System.Xml.XmlException: '', hexadecimal value 0x11,
is an invalid character. Line 245, position 42.
I then tried to turn of the tidying option:
<!-- clean editor content with use of tidy -->
That seemed to have no affect so I turned it back on. I then tried to change this from raw to UTF8 and ISO2022.
<!-- this area is for custom config settings that should be added during TinyMCE initialization -->
<!-- <config key="myKey">mySetting</config>-->
That didn't work so I set it back to raw. Any other ideas? Thanks.
Exception Details: System.ArgumentException: Requested value 'gb2312' was not found.
Exception Details: System.Xml.XmlException: '', hexadecimal value 0x11, is an invalid character. Line 245, position 42.
Is there any solution for this? I am getting question marks randomnly as well but I am sure its not missing characters because if i use the same character some where else in the same component it renders fine.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted