cancel
Showing results for 
Search instead for 
Did you mean: 

problem whith text encoding

tiofelix
Champ in-the-making
Champ in-the-making
I am using Alfresco 1.3 . I have problems writing this letters in the text editor in alfresco. This is the result:

á –> á   –>WRONG

é –> é    –>OK

í  –> à   –>WRONG­

ó –> ó   –>WRONG

ú –> ú   –>WRONG

Should i specify some code in some .xml???
11 REPLIES 11

kevinr
Star Contributor
Star Contributor
I've just tried your test characters in FireFox by creating content in both the text/html editors - I don't get any problems. But then I am using Alfresco 1.4 - however i don't think there are any differences between the versions for this functionality.

What browser are you using?

Thanks,

Kevin

tiofelix
Champ in-the-making
Champ in-the-making
Both Explorer and Firefox, i have the same problem.

tiofelix
Champ in-the-making
Champ in-the-making
It's true, using Alfresco 1.4 it works, but not with Alfresco 1.3, it can be easily fixed??

  Thanks.

kevinr
Star Contributor
Star Contributor
Maybe - i'm not sure what the differences were (i.e. i didn't know there was a problem here that was fixed for 1.4 Smiley Happy ) I'll ask internally and see if anyone knows.

Thanks,

Kevin

tiofelix
Champ in-the-making
Champ in-the-making
Ok Kevin, i'm waiting for news.., thanks in advance

kevinr
Star Contributor
Star Contributor
I've asked but no-one knows of a change that fixed the issue. One of our consultants saw the same issue in 1.3 and it is also fixed for him in 1.4. I'm not sure what to tell you for how to fix it in 1.3 Smiley Sad I've taken a look at the obvious code and i can't see anything myself that changed. Upgrading to 1.4 may be your best bet, sorry about that if it causes a problem for you.

Thanks,

Kevin

tiofelix
Champ in-the-making
Champ in-the-making
Thanks Kevin anyway.

tiofelix
Champ in-the-making
Champ in-the-making
I'll try to fix it. Which class and items are implicated in the editor??

tiofelix
Champ in-the-making
Champ in-the-making
Yes, it was bug. In the DownloadContentServlet.doGet is not set any character encoding. If someone has the same problem, adding next line (like in 1.4) it works:

  
res.setCharacterEncoding(reader.getEncoding());‍