Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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)

Replies are listed 'Best First'.
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://552318]
and snow settles gently...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2018-06-25 04:44 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.