2009/9/8 Przemyslaw Czerpak <dru...@acn.waw.pl>:
> On Tue, 08 Sep 2009, Alexandr Okhotnikov wrote:
>
> 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

Function working with files a lot (several dozen) and each must write
a wrapper, given codepage each platform and each locale? Nuance:
passing a string (UTF8) in the function (eg, strfile ()), we may face
a situation where the called function (do not understand UTF8)
incorrectly processes the string.
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to