On Tue, 08 Sep 2009, Alexandr Okhotnikov wrote:

Hi,

> It's not about application portability, I just can not open existing
> files with national characters. For example, the user's home directory
> is the analogue of "Pictures" - "Рисунки" (in Russian)

Who's forbidden you to use hb_strtoutf8() function?

   proc main()
      local cFile
      request hb_codepage_PLISO
      set( _SET_CODEPAGE, "PLISO" )
      cFile := "b��dz�cy-���w"
      memowrit( cFile, "test1" )
      memowrit( hb_strToUTF8( cFile ), "test2" )
   return

Please note that in both cases files are created with raw names specified
by user and both are valid.

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to