Page 1 of 1

Low level function in UNICODE

Posted: Thu Oct 23, 2014 2:55 pm
by Pablo César
Important to know who is working with UNICODE. Now hb_fopen works with both and also opening with non-shared mode.
ChangeLog wrote:2014-06-27 12:45 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
  * src/common/hbfopen.c
    * use _wfopen() instead of fopen() in MS-Windows UNICODE builds of
      hb_fopen(). It means that now hb_fopen() makes exactly the same file
      name conversions as hb_fs*() Harbour RTL functions, i.e. hb_fsOpen()

  * contrib/hbmxml/core.c
    ! fixed unnecessary conversions to UTF8 used for file names passed
      to hb_fopen()
Example:

hb_fopen( "sql_debug.log", "w" )
hb_fopen( "sql_debug.log", "a" )

Re: Low level function in UNICODE

Posted: Tue Oct 28, 2014 11:53 am
by bpd2000
Thank you for tip

Re: Low level function in UNICODE

Posted: Tue Oct 28, 2014 11:56 am
by serge_girard
Thanks Pablo!

Serge

Re: Low level function in UNICODE

Posted: Tue Oct 28, 2014 7:19 pm
by Javier Tovar
Gracias Pablo César por el dato! :)

Saludos