in reply to Re^3: datetime insertion problem
in thread datetime insertion problem

I try to use the same encoding with the logic you mentoned but for some reason this wont get applied as it concerned to files with greek filanames and the time.
Its not me that messed the encodings, its them.

Replies are listed 'Best First'.
Re^5: datetime insertion problem
by CountZero (Bishop) on May 28, 2006 at 13:05 UTC
    Well, in that case immediately encode the Greek files to UTF8, handle all internal business in UTF8 and just prior to outputting to a file decode it back to the Greek codepage. See perlio, perlio::encoding and Encode. I think the Greek codepage is cp1253 (codepage and graphical representation).

    CountZero

    "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

      Thats the problem ebne though i save files to utf8 only the content is aved in utf8 not the greek filename string thats why i have to change encodins back and forth 3 times.

      ans not also that bu i laso have to encode to utf8 the date string otherwise it will not eb displayed properly.