Hi,
Using Fwh 11.11 , Harbour minGw 3.2
I wrote a year ago , that TVistaMenu isn't working with national chars . Then I found that using fonts with "Baltic" extend it solve this problem . But now the same solutions isn't working with Win 7 ... . Strange that with dialogs all that is working , the problem is with mdi childs windows . What I must to use for windows captions , xBrowse data and headers , that convert in understable nationals chars ? Some searching I found that exist hb_utf8to* functions . Headers , labels and menus labels are from mySql database , which use utf8 . Can you help in this situation ?
Regards !
National chars in windows, xBrowse ...
National chars in windows, xBrowse ...
Rimantas U.
Re: National chars in windows, xBrowse ...
Found that : HB_TRANSLATE( cString, "UTF8", "CP1257" ) . It seems that this is working ... Maybe are other variants ?Rimantas wrote:Hi,
Using Fwh 11.11 , Harbour minGw 3.2
I wrote a year ago , that TVistaMenu isn't working with national chars . Then I found that using fonts with "Baltic" extend it solve this problem . But now the same solutions isn't working with Win 7 ... . Strange that with dialogs all that is working , the problem is with mdi childs windows . What I must to use for windows captions , xBrowse data and headers , that convert in understable nationals chars ? Some searching I found that exist hb_utf8to* functions . Headers , labels and menus labels are from mySql database , which use utf8 . Can you help in this situation ?
Rimantas U.
Re: National chars in windows, xBrowse ...
I make hasted ... 4 chars ( ė, į, ų, ū ) visible incorrects , as ? char . Tried hb_translate and hb_utf8tostr functions . Can you give me some help ? What is needful to set starting app. ? I'm doing that :Rimantas wrote: Found that : HB_TRANSLATE( cString, "UTF8", "CP1257" ) . It seems that this is working ... Maybe are other variants ?
REQUEST HB_CODEPAGE_LTWIN
REQUEST HB_LANG_LT
REQUEST HB_GT_GUI
ANNOUNCE RDDSYS
REQUEST DBFCDX
function Main()
SET DATE FORMAT TO "YYYY.MM.DD"
SET DBFLOCKSCHEME TO 2
set( _SET_CODEPAGE, "LTWIN" )
set( _SET_LANGUAGE, "LT" )
...
Maybe also it's needful to convert labels with Fwh functions OemtoAnsi/AnsiToOem ?
Thanks in adavnce !
Rimantas U.
Re: National chars in windows, xBrowse ...
Can any to help with nationals chars ? Problems occurs only with Win7 OS . With XP allreday all is working OK . I'm working with old Fwh 11.11 + Harbour 3.2 MinGw . Bad nationals chars are only in mdi childs windows and xBrowse headers .Rimantas wrote:I make hasted ... 4 chars ( ė, į, ų, ū ) visible incorrects , as ? char . Tried hb_translate and hb_utf8tostr functions . Can you give me some help ? What is needful to set starting app. ? I'm doing that :Rimantas wrote: Found that : HB_TRANSLATE( cString, "UTF8", "CP1257" ) . It seems that this is working ... Maybe are other variants ?
REQUEST HB_CODEPAGE_LTWIN
REQUEST HB_LANG_LT
REQUEST HB_GT_GUI
ANNOUNCE RDDSYS
REQUEST DBFCDX
function Main()
SET DATE FORMAT TO "YYYY.MM.DD"
SET DBFLOCKSCHEME TO 2
set( _SET_CODEPAGE, "LTWIN" )
set( _SET_LANGUAGE, "LT" )
...
Maybe also it's needful to convert labels with Fwh functions OemtoAnsi/AnsiToOem ?
Thanks in adavnce !
Many thanks in advance ...
Rimantas U.
Re: National chars in windows, xBrowse ...
What I must to do that to get help ? Maybe it's only mine problem , but ... with XP all is working , with Win 7 - no . So I'm asking again - how to resolve national chars problem with mdi childs and xbrowse headers in windows in Windows 7 OS ?
Rimantas U.
Re: National chars in windows, xBrowse ...
NO any comments from Fwh masters ? Antonio Linares too can't to say any word ?Rimantas wrote:What I must to do that to get help ? Maybe it's only mine problem , but ... with XP all is working , with Win 7 - no . So I'm asking again - how to resolve national chars problem with mdi childs and xbrowse headers in windows in Windows 7 OS ?
Rimantas U.