KolibriOS kernel
encoding.inc File Reference

Macros

#define fetch_utf8_char(addrspace, offs, char)
 fetch the UTF-8 character in addrspace:offs to char More...
 
#define convert_utf8(encoding, arg)
 Worker macro for all encodings. Common part for all encodings: map characters 0-0x7F trivially, translate pseudographics. Pseudographics for the boot screen: 0x2500 -> 0xC4, 0x2502 -> 0xB3, 0x250C -> 0xDA, 0x2510 -> 0xBF, 0x2514 -> 0xC0, 0x2518 -> 0xD9, 0x252C -> 0xC2, 0x2534 -> 0xC1, 0x2551 -> 0xBA. More...
 
#define declare_encoding(encoding)
 

Macro Definition Documentation

◆ convert_utf8

#define convert_utf8 (   encoding,
  arg 
)

Worker macro for all encodings. Common part for all encodings: map characters 0-0x7F trivially, translate pseudographics. Pseudographics for the boot screen: 0x2500 -> 0xC4, 0x2502 -> 0xB3, 0x250C -> 0xDA, 0x2510 -> 0xBF, 0x2514 -> 0xC0, 0x2518 -> 0xD9, 0x252C -> 0xC2, 0x2534 -> 0xC1, 0x2551 -> 0xBA.

Source
encoding.inc:51

◆ declare_encoding

#define declare_encoding (   encoding)

◆ fetch_utf8_char

#define fetch_utf8_char (   addrspace,
  offs,
  char 
)

fetch the UTF-8 character in addrspace:offs to char

Source
encoding.inc:10