[QUOTE=Cavadinha;37757]This will occur when trying to convert a string to UTF-8 format and it is already an UTF-8 format. So it breaks up the string.
Correct me if I am wrong, but SC’s export to MSWord works fine and SC’s export to MSExcel breaks the string, is that correct? If it is the case it has a good chance to be a bug and it needs to be checked.
However I am not sure about charset configurations on Microsoft’s softwares, I know the Windows work with ISO (and that sucks).
Windows + PhP generate some weird charset issues (wich PhP is trying to fix and I belive it will be fixed at version 5.6 - 5.7), but you might well know that we can’t migrate to the newest php version because of our encryption.[/QUOTE]
It is true that we develop on the windows platform but on windows it all works well. The problem exists on a linux platform. The characterset of the server is latin, all the other is utf8. I can live with the fact that the data is stored in a funny way as long as I get the data back in utf8 which seems to be the case. But yes, if you export it to excel you get the funny chars, if you export to word it goes ok.
But the best way is that the data is stored in the same way as it is used in the application. It’s nice that data is stored as ?ˆéè? but in the application shown as ???, but I would like to see ??? in the form as well as in phpMyAdmin. Using ‘set names UTF8’ on MySQL is giving uncertain results as it will store the data ok, but retrieving it goes wrong.
- i have set the database to utf8 and all tables are utf8
- i have set the database connection to utf 8
- i have set the project to utf 8
- the form I have problems with are set to utf 8
ariable_name Value
character_set_client utf8
character_set_connection utf8
character_set_database utf8
character_set_filesystem binary
character_set_results utf8
character_set_server latin1
character_set_system utf8
character_sets_dir /usr/share/mysql/charsets/