ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Unicode Being Converted to Entities

October 06, 2011 2:33pm

Subscribe [3]
  • #1 / Oct 06, 2011 2:33pm

    Waldo Jaquith

    30 posts

    When creating a new entry that uses Unicode characters (which is to say characters with code points beyond those found within ISO-8859-1), they are being converted to HTML entities. So “ becomes “, — becomes —, etc. This is undesirable.

    I long ago set $config[‘auto_convert_high_ascii’] = “n”; in config.php, but it does not make any difference. I tried to follow the instructions in the user guide, but they’re nonsensical, as I gather EllisLabs is aware. Somebody who may or may not work for EllisLabs—it’s impossible to tell, but his comment implies that he does—writes that “utf-8 is used throughout” ExpressionEngine, apparently a recent change. This would seem to imply that Unicode characters shouldn’t be touched, yet they are being altered every time.

    This is in EE v2.2.2 (20110801).

    Any ideas?

  • #2 / Oct 07, 2011 1:16am

    John Henry Donovan

    12339 posts

    Hi Waldo,

    Somebody who may or may not work for EllisLabs—it’s impossible to tell, but his comment implies that he does—writes that “utf-8 is used throughout” ExpressionEngine, apparently a recent change.

    As per the related thread. That option has been removed since EE2.1.2. Ingmar was a past employee of EllisLab

    I tried to follow the instructions in the user guide, but they’re nonsensical

    As per the other page where a bug report was filed this page has incorrect info on it too so I also filed a bug report

    What type of custom field are you using? What Default Text Formatting for This Field do you have set for the field?

    Do you have any add-ons installed?

  • #3 / Oct 07, 2011 2:50pm

    Waldo Jaquith

    30 posts

    I’m using Wygwam. It hadn’t occurred to me that could be an issue (my assumption was that an EE-wide setting would be implemented across EE), but now that you raise the issue of field type, I’ve looked into it and, apparently, this is something that’s controlled within JavaScript, in CKEditor (on which Wygwam is based). Clearly, then, this has nothing to do with EllisLabs, so I’ll take it up with Pixel and Tonic. Thank you for your help.

  • #4 / Oct 09, 2011 11:12pm

    Dan Decker

    7338 posts

    Waldo Jaquith,

    Glad to know you are all set. If you need assistance in the future, please let us know by starting a new thread.

    Cheers!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases