Menu

#35 Hwg_KeyTOUTF8() not found

v1.0_(example)
closed
nobody
None
1
2020-11-30
2020-03-13
No

Hi!
Not found this function, hwg_keytoutf8()
And function hb_osnewline() exclusive of xHarbour, change to hb_eol()
hb_osPathSeparator() to hb_ps().
http://pctoledo.com.br/forum/download/file.php?id=8536&mode=view

Best regards,
Itamar M. Lins Jr.

Discussion

  • Wilfried Brunken

    Hello Itamar,
    The function "Hwg_KeyTOUTF8()" is only
    for Linux, an operating system supports UTF-8 itself !
    To compile the tutorial succesfully on Windows, you need
    some options for hbmk2.
    Some weeks ago i delivered the script
    bldgw.bat
    building the tutorial for MingW
    On my Win 10 64bit laptop the tutorial works well !

    Reason: Needed compiler switch for Windows:
    source\common\editor\hcedit.prg, about line 2469,
    Function hced_Chr():

    ifndef WINDOWS

    IF oEdit:lUtf8; RETURN hwg_KeyToUtf8( nCode ); ENDIF

    else

    ...

    I suggest to get the recent code snapshot of Harbour and
    HWGUI and build all new. (Only newer versions support UTF8)

    I hope, this helps you. Please give a feedback, if you had success.
    I can not check the build with bcc32, i use only MingW.

    Need more samples ?
    Search for my application "CLLOG" on sourceforge.net
    (A logging program for radio amateurs, logw.prg is the main
    program for HWGUI, but translation to english is under construction)

    MNI TNX for your support request.

    With regards, 73 es 55 de
    Wilfried Brunken, DF7BE

     
  • Itamar M. Lins Jr.

    Hi!
    Was a other user of Hwgui lib, with wrong inf.
    No problem here, I use SVN Hwgui.
    I use HB 3.4 Viktor Szakarts.

    Best regards,
    Itamar M. Lins Jr.

     

    Last edit: Itamar M. Lins Jr. 2020-03-19
  • Wilfried Brunken

    Hello,
    for your info:
    Same problem was reported with support request #21.

    With regards, 73 es 55 de
    DF7BE,

     

    Last edit: Wilfried Brunken 2020-04-05
  • Maurizio la Cecilia

    • status: open --> closed
     

Log in to post a comment.