Compilei meu aplicativo desenvolvido em xHarbour, modo console, com o Harbour, modo console também, os caractéres acentuados saem errados. No aplicativo está setada assim:
Request HB_LANG_PT
HB_LANGSELECT('PT')
Alguém saberia o que tem que mudar para os caractéres sairem certo ?
Pretendo usar a GTWVT para poder maximizar a tela no Windows 7.
Obrigado
Acentuação xHarbour/Harbour
Moderador: Moderadores
-
Softwhouse
- Usuário Nível 3

- Mensagens: 347
- Registrado em: 07 Dez 2011 18:44
- Localização: Porto Alegre/RS
Acentuação xHarbour/Harbour
Eu utilizo assim com a GTwvg/Harbour3.2:
Já tentou assim?
Código: Selecionar todos
REQUEST HB_LANG_PT
REQUEST HB_CODEPAGE_PT850
hb_cdpSelect( "PT850" )Clipper 5.2e / Blinker 5.1 / Harbour 3.2 / GTwvg
-
Softwhouse
- Usuário Nível 3

- Mensagens: 347
- Registrado em: 07 Dez 2011 18:44
- Localização: Porto Alegre/RS
Acentuação xHarbour/Harbour
Olá,
Incluindo a última linha o sistema mostra somente uma tela preta.
Incluindo a última linha o sistema mostra somente uma tela preta.
Fernando
Acentuação xHarbour/Harbour
No meu prg principal esta
No meu .hbp
Boa sorte!
Código: Selecionar todos
#include "hbgtinfo.ch"
REQUEST HB_LANG_PT
REQUEST HB_CODEPAGE_PT850
REQUEST HB_GT_WVG_DEFAULT
REQUEST HB_GT_WVT
REQUEST HB_GT_WIN
SetColor( 'N/W,w/r' )
CLS
hb_cdpSelect( "PT850" )Código: Selecionar todos
-gtwvg
-gui
-m
-oSEUSISTEMA
-inc
-lhbwin
-lhbtip
-lhbct
-lxhbClipper 5.2e / Blinker 5.1 / Harbour 3.2 / GTwvg
- JoséQuintas
- Administrador

- Mensagens: 20420
- Registrado em: 26 Fev 2007 11:59
- Localização: São Paulo-SP
- Curtiram: 1 vez
Acentuação xHarbour/Harbour
Agora estranhei.
Uso assim:
Qual é o correto? Ou dá no mesmo?
Uso assim:
Código: Selecionar todos
REQUEST HB_CodePage_PTISO
PROCEDURE Main
Set( _SET_CODEPAGE, "PTISO" )
José M. C. Quintas
Harbour 3.2, mingw, multithread, gtwvg, fivewin 25.12, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui), (hmg3), (hmg extended), (oohg), PNotepad, ASP, (Linux/Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"
https://github.com/JoseQuintas/
Harbour 3.2, mingw, multithread, gtwvg, fivewin 25.12, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui), (hmg3), (hmg extended), (oohg), PNotepad, ASP, (Linux/Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"
https://github.com/JoseQuintas/
