sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
sjis.c File Reference
#include <string.h>
#include <sjis.h>

Go to the source code of this file.

Classes

struct  charmap_t

Functions

unsigned char isSpecialSJIS (short sjis)
short isSpecialASCII (unsigned char ascii)
int strcpy_ascii (char *ascii_buff, const short *sjis_buff)
int strcpy_sjis (short *sjis_buff, const char *ascii_buff)

Detailed Description

sjis<->ascii conversion routines by Peter Sandström

Definition in file sjis.c.

Function Documentation

◆ isSpecialASCII()

short isSpecialASCII ( unsigned char ascii)

Definition at line 70 of file sjis.c.

◆ isSpecialSJIS()

unsigned char isSpecialSJIS ( short sjis)

Definition at line 60 of file sjis.c.

◆ strcpy_ascii()

int strcpy_ascii ( char * ascii_buff,
const short * sjis_buff )

copies sjis string to ascii string

Parameters
ascii_buffdest ascii string buffer
sjis_buffsource sjis string buffer
Returns
length of sjis string copied

Definition at line 80 of file sjis.c.

◆ strcpy_sjis()

int strcpy_sjis ( short * sjis_buff,
const char * ascii_buff )

copies ascii string to sjis string

Parameters
sjis_buffdest sjis string buffer
ascii_buffsource ascii string buffer
Returns
length of ascii string copied

Definition at line 100 of file sjis.c.