Answered
French characters and CFXML
Hello people, I'm having a problem and I'm not sure what I'm
doing wrong.
I have created a CMS for a kindergarten in Montreal. They speak French.
In this CMS they can create new photo galleries and upload their photos.
In order to do this, I have a form that creates the gallery and write it into a mySQL database. Then, once all the images for this gallery have been uploaded, an XML file is created, which will feed a flash gallery.
The problem occurs when the name of the gallery they enter has special French characters. It is being written properly to the DB, but at the time the CFXML creates the XML code or at the time cffile writes the xml file itself, those characters get corrupted.
I'm attaching the code that queries the DB and creates the XML code and file.
Any hint will be appreciated.
Thanks a lot.
I have created a CMS for a kindergarten in Montreal. They speak French.
In this CMS they can create new photo galleries and upload their photos.
In order to do this, I have a form that creates the gallery and write it into a mySQL database. Then, once all the images for this gallery have been uploaded, an XML file is created, which will feed a flash gallery.
The problem occurs when the name of the gallery they enter has special French characters. It is being written properly to the DB, but at the time the CFXML creates the XML code or at the time cffile writes the xml file itself, those characters get corrupted.
I'm attaching the code that queries the DB and creates the XML code and file.
Any hint will be appreciated.
Thanks a lot.