This discussion is archived
3 Replies Latest reply: Jun 16, 2010 1:13 PM by DrClap RSS

Reading files with names in foreign characters - help

843810 Newbie
Currently Being Moderated

My goal is to read files names from a folder and send these names over the network. Often file names contains foreign characters. For example, one file can be in Russian and another one in Hebrew.

How do I know what is the charset of a given file name?

I guess once I know the charset, I can use the same charset to recreate the the String from byte array.