Loading ...
Sorry, an error occurred while loading the content.
 

strftime() returns local month name in wrong encoding?

Expand Messages
  • Valery Kondakoff
    Hello, Bram! ... BM The strftime() function returns the string in the current locale. When BM you have set encoding to utf-8 that is a different
    Message 1 of 5 , Mar 20, 2003
      Hello, Bram!

      Friday, March 21, 2003, you wrote to me:

      >> Another example. This key sequence will insert garbage in a buffer:
      >> "=strftime("%b")<CR>p

      BM> The strftime() function returns the string in the current locale. When
      BM> you have set 'encoding' to "utf-8" that is a different encoding. You
      BM> would need to use the iconv() function.
      BM> We could do the conversion automatically perhaps.

      Please, please! I'm sure this will be very useful addition! :)

      Thank you for your answer.

      --
      Best regards,
      Valery Kondakoff
      http://www.nbk.orc.ru (Ne Bey Kopytom)
      http://www.nbk.orc.ru/mtb (MTB riding in Moscow)

      PGP key: mailto:pgp-public-keys@...?subject=GET%20strauss@...

      np: Morrissey - November Spawned A Monster (Bona Drag)
    Your message has been successfully submitted and would be delivered to recipients shortly.