FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour New FWH 24.09
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: New FWH 24.09
Posted: Mon Oct 21, 2024 02:01 AM
Enrico Maria Giordano wrote:Italy:
850,1252
Spain also:
850,1252
Thanks to Mr. Antonio

It will be useful if know this information for installations in UK,USA, etc.
If Mr. Tim Stone happens to see this posting I will be grateful if he can provide the results of
Code (fw): Select all Collapse
? GetOEMCP(), GetACP()
Subject to confirmation, I presume:
UK: 850,1262
USA 437,1262
Regards



G. N. Rao.

Hyderabad, India
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: New FWH 24.09
Posted: Mon Oct 21, 2024 08:25 AM
Hi Mr. Rao,
Code (fw): Select all Collapse
? GetOEMCP(), GetACP()
Türkiye:
854, 1254
Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: New FWH 24.09
Posted: Mon Oct 21, 2024 09:59 AM
Horizon wrote:Hi Mr. Rao,
Code (fw): Select all Collapse
? GetOEMCP(), GetACP()
Türkiye:
854, 1254
Thanks.
1) Please once again give me 3 or 4 unique to Turkish characters both their OEM asc values and corresponding ANSI asc values.

2) Can you please check again? Is it 854 or 857 ?
Please see this webpage:
https://learn.microsoft.com/en-us/windows/win32/intl/code-page-identifiers

Here all Windows codepages botj OEM(DOS) and ANSI codepages are listed,
I could not find 854 there but I found:
Code (fw): Select all Collapse
857 ibm857  OEM Turkish; Turkish (DOS)
That is the reason I am checking with you once again
Regards



G. N. Rao.

Hyderabad, India
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: New FWH 24.09
Posted: Mon Oct 21, 2024 01:15 PM
nageswaragunupudi wrote:
Hi Mr. Rao,
Code (fw): Select all Collapse
? GetOEMCP(), GetACP()
Türkiye:
854, 1254
Thanks.
1) Please once again give me 3 or 4 unique to Turkish characters both their OEM asc values and corresponding ANSI asc values.

2) Can you please check again? Is it 854 or 857 ?
Please see this webpage:
https://learn.microsoft.com/en-us/windows/win32/intl/code-page-identifiers

Here all Windows codepages botj OEM(DOS) and ANSI codepages are listed,
I could not find 854 there but I found:
Code (fw): Select all Collapse
857 ibm857  OEM Turkish; Turkish (DOS)
That is the reason I am checking with you once again
Hi Mr. Rao,

You are right. 857
I wrote it wrong when I wrote it.
Code (fw): Select all Collapse
    Character   Ascii
1   Ğ            208 
2   Ş            222 
3   İ            221 
4   ğ            240 
5   ş            254 
6   ı            253
Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: New FWH 24.09
Posted: Mon Oct 21, 2024 01:37 PM
Masters Nages, Enrico, see if it helps: compile with a different version of FWH24.09 pls.

Masters Nages, Enrico, mira si ayuda: compila con una versión diferente de FWH24.09 por favor.
Code (fw): Select all Collapse
//-> C:\FWH..\SAMPLES\TABISO.PRG - Tabela: ISO 8859-1 - 24/01/2020
//-> MODIFIED IN 24/10/2024 - Kapiabafwh@gmail.com

// http://www.pctoledo.com.br/forum/viewtopic.php?f=4&t=23861

#Include "FiveWin.ch"

STATIC oWnd

FUNCTION Main()

   LOCAL oBar

   DEFINE WINDOW oWnd TITLE "Tabela: ISO 8859-1 - Marcos Kieron - www.fivewin.com.br"

   DEFINE BUTTONBAR oBar _3D OF oWnd

   DEFINE BUTTON OF oBar FILENAME "..\bitmaps\16x16\printer.bmp" FLAT ;
      ACTION( TABISO() ) GROUP

   DEFINE BUTTON OF oBar FILENAME "..\bitmaps\16x16\Exit.bmp"    FLAT ;
      ACTION( oWnd:End() ) TOOLTIP "Exit this app" GROUP

   SET MESSAGE OF oWnd TO "Tabela: ISO 8859-1 - Marcos Kieron - www.fivewin.com.br" ;
      NOINSET CLOCK DATE KEYBOARD

   ACTIVATE WINDOW oWnd MAXIMIZED

RETURN NIL

FUNCTION TABISO()

   LOCAL x, i, j

   x := 10
   i := 1

   WHILE i <= 255

      SYSREFRESH()

      FOR j := 3 TO 42

         @ j, x SAY RIGHT( STR( i ), 3 ) + SPACE(1) + CHR( i++ ) OF oWnd

         IF i > 255

           EXIT

         ENDIF

      NEXT j

      x += 10

   ENDDO

RETURN NIL

// FIM / END
Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: New FWH 24.09
Posted: Mon Oct 21, 2024 02:42 PM

We do not need any help.

We are very clear.

Please wait for our posts and then only please respond.

Btw, OSP 8859-1 is the same as PTISO, which is similar to 1252 ANSI codepage.

Regards



G. N. Rao.

Hyderabad, India
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: New FWH 24.09
Posted: Sat Jan 25, 2025 06:04 PM

UP

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: New FWH 24.09
Posted: Tue Feb 04, 2025 09:20 PM

Please wait for the next release.

Regards



G. N. Rao.

Hyderabad, India

Continue the discussion