|
From: Alexander S.K. <al...@be...> - 2014-10-03 10:40:25
|
I don't know, how it is with Hungarian, but for Russian there are
different codepages for DOS and Windows applications, so in GUI programs
I set one codepage for an application ( _SET_CODEPAGE ) and other for
databases, because they are inherited from old times.
So, probably, you need to set a HUWIN as an application codepage.
I didn't know that _SET_CODEPAGE and _SET_DBCODEPAGE were added, so I use
hb_cdpSelect( "RU1251" ) // Win (ANSI) codepage for an application
...
use table codepage "RU866" // DOS (OEM) codepage for a table
Regards, Alexander.
Baloghy Gábor:
> Hi,
>
> I have an orginally clipper, later harbour (gtvwt) application.I try
> it to transform to a gui application with hwgui.
>
> My dbf tables are in HU852 codepage. I try to use the
> SET(_SET_DBCODEPAGE,"HU852") command, but the text in the the say /
> get gui elements are wrong.
>
> Could you help me, what is missing from my sample program?
>
> Regard,
>
> Gabor
>
>
> #include "windows.ch"
> #include "guilib.ch"
> REQUEST HB_CODEPAGE_HU852
> REQUEST HB_LANG_HU852
>
> FUNCTION MAIN
>
> HB_LANGSELECT("HU852")
> SET(_SET_CODEPAGE,"HU852")
> SET(_SET_DBCODEPAGE,"HU852")
>
> use table
>
> init dialog oTest852 title "Test" size 600,400
>
> x:=table->abcd
>
> @ 20,20 say x size 300,25
> @ 20,50 get x size 300,25
>
> activate dialog oTest852 center
>
> return
>
> ------------------------------------------------------------------------------
> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
> _______________________________________________
> Hwgui-developers mailing list
> Hwg...@li...
> https://lists.sourceforge.net/lists/listinfo/hwgui-developers
>
|