After some tests I can tell you that it's finally a question of additional whitespace and not a question of accent.
My problem comes with the 'à' character.
It is coded as 'Ã ' with a whitespace inside of it.
When I want to write 'à aaaaaa'.
The sentence should be coded as 'Ã aaaaaa' with 2 white spaces between the two words. As ezxml discards additional white space the 'à' is coded as 'Ã' without a whitespace so it's not understood and the xml block is not stored...
At this time I've only found this problem with the 'à' character and I don't know if some others use a whitespace in their code.
So I'd like to know what is the aim of discarding whitespaces and if I could disable this action. Nathalie
Here's what happens:
- I put 'Ã aaaa' in the online editor
- I disable the editor:
* in Firefox the sentence becomes: '� aaaa'
the character is not understood
* in IE the sentence becomes: 'Ã aaaa' the whitespace has been deleted
Now:
- I put 'Ã aaaa' in the online editor
- I send for publishing: * in Firefox AND in IE my attribute is empty
Now:
- I put 'Ã aaaa' in the online editor without any whitespace after the 'Ã '
- I send for publishing: * in Firefox AND in IE my attribute contains 'Ã aaaa'
It looks like it's really a question of whitespace... What do you think of ?
I'm afraid your solution is more a workaround than anything else. Beware when mixing different charsets, as it will slow down the system.
In one case, I had a real problem with characters being totally messed up (due to an update on mysql). You can't imagine the time I lost on it to fix it.
I suggest you to spend a few more minutes to try to understand the problem, otherwise you might get the same problem I had.
This being said, having everything in latin1 instead of utf8 is another solution. At least if you only deal with english and french.
I finally choose this solution just because it was an emergency. I will soon have a few minutes to understand what's wrong with my environment.
Maybe you've got some advice or link to documentation or other topics to give me.
I need to use English, French, German, Spanish and Italian. It would be nice having precise requirements on that issue for my next projects.
Thanks Nathalie
You must be logged in to post messages in this topic!