in reply to Re^2: Encodings problem
in thread Encodings problem

Well, how about you make a small, selfcontained program that demonstrates your problem (i.e. reading/writing files with UTF8 filenames - it shouldn't take more than 5 - 10 lines - and I do not mean a CGI program that needs lots of other files - just a simple command line program is much better) and if that still shows the problem, post it here along with a clear description of the problem involving at least the full program, the expected output and the actual output. you should know the deal by now.

Also, I realize you're greek and english isn't your native language, but PLEASE try to spell at least the simple words like "this", "to" and "don't" correctly. A spelling error here or there isn't a problem but this is just very annoying to read.

Now, one important tip: almost all the time you do not want to use Encode::from_to. You'll want to use Encode::encode (from utf8 to some other encoding) and Encode::decode (from some encoding to utf8). see the docs.