iniquity

A re-imagining of the iconic BBS software.

View on GitHub

Module: core/artwork

Artwork Rendering

Summary

ANSI artwork rendering with SAUCE metadata support and CP437 encoding

Table of contents

Classes

Interfaces

Functions

Functions

cp437ToUtf8

cp437ToUtf8(cp437String): string

Convert a CP437-encoded string to UTF-8 Preserves ANSI escape sequences (they use only ASCII characters)

Parameters

Name Type Description
cp437String string String with CP437 character codes (read as latin1)

Returns

string

UTF-8 encoded string

Defined in

core/src/artwork.ts:292