Low level function in UNICODE

Harbour, MingW related news.

Moderator: Rathinagiri

Post Reply
User avatar
Pablo César
Posts: 3825
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 81 times
Been thanked: 137 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()
Example:

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
bpd2000
Posts: 893
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 65 times
Been thanked: 12 times

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

Thank you for tip
BPD
HMG Convert Dream into Reality

User avatar
serge_girard
Posts: 1539
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Has thanked: 154 times
Been thanked: 23 times
Contact:

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

Thanks Pablo!

Serge

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

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

Gracias Pablo César por el dato! :)

Saludos

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest