We have a ColdFusion file library management system that is being taken off an old ColdFusion 4 server and moved onto the new system which is based on ColdFusion 8.
All our files and folders are in English, French and Spanish.
Using CFDirectory in CF8 to load and display these files and folders is causing two issues with the French and Spanish files and folders, but the two problems are probably linked.
- Directories with accented characters are not being returned from the cfdirectory.
- Files with accented characters are displaying with an upside down ? instead of the accented character.
The servers are Solaris 10 with SunONE 6.1 Webservers
Update
We have now narrowed the problem down to the JVM. The file system looks OK, but we get the same problem with the files and directories if we include a Java class which uses the basic Java file IO.
Any suggestions on how to rectify this in JVM would be appreciated
The problem may be that the chars in the dirs created by CF 4 are not unicode...in fact, if CF4 created them then I can pretty much guarantee that they are not because CF previous to 6 didn't know unicode or utf-8 from a hole in the ground. It often ended up using some wierd encodings. CF6+ on the other hand assumes that just about everything is utf-8.