I am trying to read in a number of text files that contain translations
(using French in this example) and store them in my applications app scope.
The file I am reading in looks like this:
http://screencast.com/t/DZTv3iVrbyo

When I dump the results from reading in the file, or try to use them in
output, the accents get munged:
http://screencast.com/t/aoRcLWWHn

I have tried everything I can think of to get this to work and everything
has failed. I have tried manually setting the charset on the CFFILE tag and
that has not helped. I tried using  UTF-8, and WINDOWS-1255.

Since I have numerous language files I have even tried implementing this
java class org.mozilla.universalchardet.UniversalDetector that detects the
encoding of a file, and then using the detected encoding when reading in the
translation files. But no matter what I do, the encoding is not preserved.
Note, this library tells me my French files are "WINDOWS-1255"./

Does anyone have any suggestions on how I can handle this? 

Brook



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354707
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to