Hello,
FCKeditor is a very good editor. Great thanks to all development team who contributed to this project.
By the way, I have a question concerning special caracters. When, I input french accented letters such as:
(à) , (â) , (é) , (è) , (ê) , (ë) , (û) , (ù) , (ü) , (ô) , (î) , (ï) , ( ç) ,
I get the following output after submiting the editor page (using test.php and testsubmit.php):
(à) , â (â) , é (é) , è (è) , ê (ê) , ë (ë) , û (û) , ù (ù) , ü (ü) , ô (ô) , î (î) , ï (ï) , ç ( ç) ,
It seems that german people encounter this problem also (we have common accented letters in both languages). The adapted charset for us (western europe) is iso8859-1. I couldn't find an option/parameter to change somewhere in js subdirectory to deal with special chars.
Did someone face this problem, have an idea or a possible work-around ?
Thanks all for your help,
Cyrille Letellier (France)
FCKeditor is a very good editor. Great thanks to all development team who contributed to this project.
By the way, I have a question concerning special caracters. When, I input french accented letters such as:
(à) , (â) , (é) , (è) , (ê) , (ë) , (û) , (ù) , (ü) , (ô) , (î) , (ï) , ( ç) ,
I get the following output after submiting the editor page (using test.php and testsubmit.php):
(à) , â (â) , é (é) , è (è) , ê (ê) , ë (ë) , û (û) , ù (ù) , ü (ü) , ô (ô) , î (î) , ï (ï) , ç ( ç) ,
It seems that german people encounter this problem also (we have common accented letters in both languages). The adapted charset for us (western europe) is iso8859-1. I couldn't find an option/parameter to change somewhere in js subdirectory to deal with special chars.
Did someone face this problem, have an idea or a possible work-around ?
Thanks all for your help,
Cyrille Letellier (France)
RE: French accented caracters problem
RE: French accented caracters problem
Does anyone have an idea ?
RE: French accented caracters problem
<!-- Traitement des accents -->
text = text.replace(//g, "é");
text = text.replace(//g, "è");
text = text.replace(//g, "ê");
text = text.replace(//g, "ù");
text = text.replace(//g, "ú");
text = text.replace(//g, "û")
text = text.replace(//g, "à");
text = text.replace(//g, "â");
text = text.replace(//g, "á");
text = text.replace(//g, "ô");
text = text.replace(//g, "ó");
text = text.replace(//g, "î");
text = text.replace(//g, "í");
text = text.replace(//g, "ç");
text = text.replace(//g, "ñ");
<!-- Fin de Traitement des accents -->
This code covers spanish and french accents (and all the other languages that uses the same accents!).
RE: French accented caracters problem
RE: French accented caracters problem
RE: French accented caracters problem
But this chars does'nt appear in russian chars but in "" style ....
Have i to change FCK iframe charset ???
RE: French accented caracters problem
RE: French accented caracters problem
"
When using your software with international characters,
we meet some issues: the transformation of those
characters to HTML code like -->é BEFORE
comitting to database.
I found two places where i could change your code in
order to do such a thing:
in fckeditor.js l.77
in fck_actions.js l.281
I add there the following line for each of the accented
characters:
text = text.replace(//g, "é") ;
now when i insert such a code in fckeditor.js, no prob
when i do such a thing in fck_actions.js, FCK get stalled,
doesn't work anymore
for info, your function would look like this:
function HTMLEncode(text)
{
text = text.replace(/&/g, "&") ;
text = text.replace(/"/g, """) ;
text = text.replace(/</g, "<") ;
text = text.replace(/>/g, ">") ;
text = text.replace(/'/g, "’") ;
text = text.replace(//g, "é") ;
return text ;
}
the error i get is "/" expected in l.282!!!!!!
could you explain or resolve it ?
RE: French accented caracters problem
Using the example files from macromedia I solved the problem for Coldfusion:
http://www.macromedia.com/support/coldf ... index.html
Most important is to add the following code to the application.cfm:
<!--- Set encoding to UTF-8. --->
<cfset setEncoding("Form", "UTF-8")>
<!--- Set the output encoding to UTF-8 --->
<cfcontent type="text/html; charset=UTF-8">
and to repeat the line:
<cfset setEncoding("FORM", "utf-8")>
on the action page which takes care of your form.
Geert
RE: French accented caracters problem
I was already starting to write a similar function in my mind when I read this thread...
RE: French accented caracters problem
Fred has created a very nice solution. For those in need of international characters, go and see http://sourceforge.net/tracker/index.ph ... tid=543654
RE: French accented caracters problem
Artifact: Only Group Members Can View Private ArtifactTypes
How can I see this important link ?
I have the same problems
RE: French accented caracters problem
I have a similar problem.
My application involves traslation of texts in different languages.For this purpose,a popup is opened from the main window which opens the FCKeditor.The value entered in the editor is then sent back to the parent window textfield.However when I use danish or any other characters, they are replaced with their representation.For eg. 'æ' is replaced with 'æ'.When the editor is now opened again,this value 'æ' is again displayed as 'Atilde'.
How can I retain the original characters???
Pls help....Would really appreciate any help I can get.
Thanks..