Search

Hi! I’m having problems using the © character in input fields. It seems that when creating the handle of the field it does not delete/convert that character, and then encode error occurs.

I do not know if it would be appropriate to use this:

if (function_exists('iconv')) {
$string = @iconv('UTF-8', 'ASCII//TRANSLIT', $string);
}

is there any other alternative to fix this problem?

Have a look at the language file maybe? It’s in symphony/lib/lang/

hmmm great! its working now! Thank you Czheng!

hmmm great! its working now!

How did you fix? Would it be worth putting the same fix into the Symphony core?

I just append:

'/©/' => 'c'

in $transliterations array.

Thanks! I’ve logged this as a bug: #297 © character not removed in handles

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details