Help - Search - Members - Calendar
Full Version: accents in text replaces by  © ...
Movable Type Community Forum > Other Product Discussion > Bugs and Odd Behavior
fitterashes
Can someone tell me how to fix the problems with the accents (used in french). Actually all my "é è ò ' ç " are replaced by ©€™ ...
Thanks wink.gif
jblayloc
Are you using the ASCII codes to create special characters or simply typing them on your keyboard? I use some of the special characters when typing a Spanish word into my blog, and I find that using the ASCII code is more surefire than simply typing it (especially since I am on a Mac and the rest of the world isn't):

CODE
My friend Marco Gónzalez ...


becomes My friend Marco Gónzalez.
imabug
you will need to use the appropriate ASCII codes (as mentioned by jblayloc) or HTML entities for any accented and special characters you use.
fitterashes
that happens when i directly type the letters with my keyboard. If i use the ascii cote it works. (first line directly with keyboard, second line with ascii code)

It's really fastidious to write all the news in french with ascii each time there is an accent. Is there any way to code something to avoid that?

(without the +)
CODE
&+eacute; &+egrave; &+agrave; &+ccedil; &+ograve; &+ugrave; &+icirc; &+acirc; &+ecirc; &+ocirc; &+ucirc; &+iuml; &+uuml; &+auml; &+euml; &+ouml; &+igrave; &+copy;

=
CODE
é è à ç ò ù î â ê ô û ï ü ä ë ö ©


mellow.gif
earcos
I don't think replacing accents with ASCII equivalents is neccesary.

Probably this is related to the page encoding:

Your site is using iso-8859-1, by default Movable Type 3 publishes in UTF-8, so when you type accents (á, é, í, ó, ú, etc) you get strange characters.

There are two ways of solving this:

1.- Change the encoding of your site to UTF-8, modifying the Content-Type meta tag at between the and elements.

2.- Make MT publish in iso-8859-1: open your mt.cfg and search for the following line:

# PublishCharset utf-8

You need to "uncomment" the line removing the "#" then change it to:

PublishCharset iso-8859-1

And rebuild your post.
fitterashes
the second way works fine.
Thanks you very much. smile.gif
ecritures
I have changed the utf-8 in the iso code twice and twice it seems that my MT "collapsed" afterwards. I know it sounds strange, and I am not technical person whatsoever so I have no means of verifying this. But in both cases immediately after I have changed the mt.cfg file with the above mentioned code, the mt.cgi started giving trouble. It did not want to rebuild the entries and index-pages anymore giving a 500 error. I have no way of looking into the server error log and also the NT activity log stops working (i.e. gives a 500 error) immediately after this change in the mt.cfg.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.