Low level function in UNICODE

Harbour, MingW related news.

Moderator: Rathinagiri

Post Reply
User avatar
Pablo César
Posts: 3788
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 78 times
Been thanked: 124 times

Low level function in UNICODE

Post by Pablo César » Thu Oct 23, 2014 2:55 pm

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()

hb_fopen( "sql_debug.log", "w" )
hb_fopen( "sql_debug.log", "a" )
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

User avatar
Posts: 891
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 60 times
Been thanked: 12 times

Re: Low level function in UNICODE

Post by bpd2000 » Tue Oct 28, 2014 11:53 am

Thank you for tip
HMG Convert Dream into Reality

User avatar
Posts: 1521
Joined: Sun Nov 25, 2012 2:44 pm
Location: Belgium
Has thanked: 142 times
Been thanked: 21 times

Re: Low level function in UNICODE

Post by serge_girard » Tue Oct 28, 2014 11:56 am

Thanks Pablo!


Javier Tovar
Posts: 1254
Joined: Tue Sep 03, 2013 4:22 am
Location: Tecámac, México

Re: Low level function in UNICODE

Post by Javier Tovar » Tue Oct 28, 2014 7:19 pm

Gracias Pablo César por el dato! :)


Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests