Jump to content
Fivewin Brasil

Retorno de webservice com escrita estranha


aferra

Recommended Posts

boa tarde !
em xharbour a escrita esta desta forma
Carta de Correção
em harbour fica desta forma
Carta de Correů
como resolver isso?
no .prg principal está configurado desta forma
REQUEST HB_LANG_PT
REQUEST HB_CODEPAGE_PT850
HB_LangSelect("PT")
HB_SETCODEPAGE( "PT850" )
* HB_CDPSELECT( "PT850" )
Link to comment
Share on other sites

Matando o tópico, para quem precisar no futuro:



#include "FiveWin.ch"

REQUEST HB_LANG_PT
REQUEST HB_CODEPAGE_PT850
REQUEST HB_CODEPAGE_PTISO

Procedure Main()

HB_SETCODEPAGE( "PTISO" )
HB_LANGSELECT( 'PT' )

? HB_LANGNAME()

? 'áéíóú'

? HB_TRANSLATE( ' ‚¡¢£', "PT850", "PTISO" )

? HB_TRANSLATE( 'áéíóú', "PTISO", "PT850" )

? 'ansitooem', hb_ansitooem('áéíóú')

? 'oemtoansi', hb_oemtoansi(' ‚¡¢£')

HB_SETTERMCP( "PT850" )

? 'áéíóú'

return nil

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...