Skip to main content

Module charset

Module charset 

Source
Expand description

Character set conversion between EBCDIC codepages and UTF-8. Character set conversion utilities

This module re-exports from copybook-charset for backward compatibility.

Enums§

Codepage
Character encoding specification
UnmappablePolicy
Policy for handling unmappable characters during decode

Functions§

ebcdic_to_utf8
Convert EBCDIC bytes to UTF-8 string
get_zoned_sign_table
Get zoned decimal sign table for a codepage.
space_byte
Get the space byte value for a codepage.
utf8_to_ebcdic
Convert UTF-8 string to EBCDIC bytes