English
Regulars table & Café

OemToChar.

 


Description:

Converts a String from the OEM-Zeichensatz into Zeichensatz the actually Ländereinstellung




Deklaration:

Def OemToChar(2) !USER32, OemToCharA




Parameter:

1.Parameter: Memory-Variable, with String in the OEM-Zeichensatz
2.Parameter: Memory-Variable as Buffer, for Rückgabestring



Return Value:

always TRUE (1)

Examples:

CompileMarkSeparation
Def CharToOem(2) !"USER32", "CharToOemA"
Def OemToChar(2) !"USER32", "OemToCharA"

Proc Text2Ascii

    Parameters Text$
    CharToOem(Addr(Text$), Addr(Text$))
    Return Text$

EndProc

Proc Text2Ansi

    Parameters Text$
    OemToChar(Addr(Text$), Addr(Text$))
    Return Text$

EndProc

Declare AnsiText$, AsciiText$
AnsiText$ = "äöüß"
Print "ANSI: " + AnsiText$ + " = Ascii: " + Text2Ascii(AnsiText$)
WaitKey

[keywords:688ee3bc10]
Konvertieren Consolestring Zeichensatz
[/keywords:688ee3bc10]
 
05/25/05  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

1.510 Views

Untitledvor 0 min.
H.Brill11/14/15

Themeninformationen

this Topic has 1 subscriber:

unbekannt (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie