Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: Encoding problem(reposting in more detail)

by john_oshea (Priest)
on May 29, 2006 at 14:45 UTC ( #552318=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Encoding problem(reposting in more detail)
in thread Encoding problem(reposting in more detail)

OK, I've done some digging in your previous posts and have found this snippet from you:

Because windows are unable of saving greek filenames also in utf8 format(they save only the file contents iam afraid)

which makes me wonder if Windows is saving the filenames correctly and that you actually have a display issue in cmd.exe. Googling for 'windows greek filenames cmd.exe' gets me this as one of the results, which has, about halfway down, the following:

While the reason for their existance might be odd, whitespaces, dots, percentage signs are perfectly legal characters for file names in Windows 2000 (Though they weren't in DOS). The only illegal characters for file names in Windows are: \ / : * ? " < > | Anything else is OK, including international characters which may seem odd to you if your FS is FAT and your codepage is not set correctly (or simply because you don't speak russian/greek/hebrew/arabic/etc).

Unfortunately I don't 'do' Windows well enough to confirm if this is the issue or not, but, at the very least, something like this should get you started.

Hope that helps


Comment on Re^3: Encoding problem(reposting in more detail)
Re^4: Encoding problem(reposting in more detail)
by Nik on May 29, 2006 at 15:32 UTC
    I read the link and tiried in command line "chcp 734" which i googled and think it is the code page number form UTF8. is it not? because it didn say explicitly if it was.

      This (and several other links) seems to imply that you want chcp 65001 - I'm not on a Windows box, so I can't confirm this however.

        Firstr of all thank you a lot John for trying to help me out. I just tried it and removed encoding but unfortunately iam still getting ???? ? ??? ???.txt kinf of file sin the dro down menu.Menybe this chcp thing was onlt form console line application and not perl cgi script files?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://552318]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2014-08-29 14:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (280 votes), past polls