Converte uma string do formato OEM/MS-DOS Text para ANSI Text (formato do Microsoft Windows).
OEMToAnsi( < cStringOEM > )
Nome | Tipo | Descrição | Obrigatório | Referência |
---|---|---|---|---|
cStringOEM | caractere | Indica a string (formato OEM/MS-DOS) que será convertida. | X |
|
Nome | Tipo | Descrição |
---|---|---|
cRet | caractere | Retorna a string convertida (formato ANSI) para ser exibida no Microsoft Windows |
User Function teste() cTexto := "Ateno" msginfo(cTexto) cTexto := OEMToANSI( cTexto ) // Resultado: "Atençäo" msginfo(cTexto) Return
Advanced Protheus 6.09 , Advanced Protheus 7.10 , Microsiga Protheus 8.11 , Protheus 10 , TOTVS Application Server 10 , ByYou Application Server