Présentation
Documentation
L'équipe
Sérialisation
 
Programmes
Objets
Libs Utilitaires
Libs Internes
   
 
Editeur
Syntaxes
Windows
Versions
   

SCR/AL1 - TOME III. Les librairies utilitaires

5. Le groupe s_strs

5.37 SCR_AnsiToOem (file s_stansi.c:290)

Syntax

unsigned char *SCR_AnsiToOem(oem, ansi)
unsigned char *ansi, *oem;

Description

Transforme une chaîne de caractères ANSI (Latin-1) en ASCII-PC. Seuls les caractères supérieurs 5 127 sont modifiés.

Une bijection est définie entre les deux ensembles de caractères (ces ensembles sont largement distincts) de telle sorte que les fonctions SCR_OemToAnsi() et SCR_AnsiToOem() sont réciproques.

Les deux paramètres (ansi et oem) peuvent une transformation "sur place".

Les pointeurs peuvent

Valeur retournée

un pointeur vers la chaîne oem résultat

Prototype

#include <s_strs.h>

Voir également

SCR_OemToAnsiChar(), SCR_AnsiToOemChar(), SCR_AnsiToOem()

5.37.1 File s_stansi.c

unsigned char *SCR_AnsiToOem(oem, ansi)
int SCR_AnsiToOemChar(ch)
unsigned char *SCR_AnsiToOemLg(oem, ansi, lg)
unsigned char *SCR_OemToAnsi(ansi, oem)
int SCR_OemToAnsiChar(ch)
unsigned char *SCR_OemToAnsiLg(ansi, oem, lg)
unsigned char *SCR_OemToText(unsigned char *res, unsigned char *oem)
int SCR_OemToTextChar(int c)
unsigned char *SCR_OemToTextLg(U_ch *res, U_ch *oem, int lg)

SCR_OemToText (file s_stansi.c:365)

Syntax

unsigned char *SCR_OemToText(unsigned char *res, unsigned char *oem)

SCR_OemToTextChar (file s_stansi.c:339)

Syntax

int SCR_OemToTextChar(int c)

SCR_OemToTextLg (file s_stansi.c:354)

Syntax

unsigned char *SCR_OemToTextLg(U_ch *res, U_ch *oem, int lg)

Copyright © 1998-2015 Jean-Marc Paul and Bernard PAUL - Envoyez vos remarques ou commentaires à bernard@xon.be