@nightgrey/ansi
    Preparing search index...

    Function selectCharacterSet

    • Select Character Set sets the G-set character designator to the specified character set.

      ESC Ps Pd
      

      Where Ps is the G-set character designator, and Pd is the identifier. For 94-character sets, the designator can be one of:

      • ( G0
      • ) G1
        • G2
        • G3

      For 96-character sets, the designator can be one of:

        • G1
      • . G2
      • / G3

      Some common 94-character sets are:

      • 0 DEC Special Drawing Set
      • A United Kingdom (UK)
      • B United States (USASCII)

      Examples:

      ESC ( B  Select character set G0 = United States (USASCII)
      ESC ( 0 Select character set G0 = Special Character and Line Drawing Set
      ESC ) 0 Select character set G1 = Special Character and Line Drawing Set
      ESC * A Select character set G2 = United Kingdom (UK)

      Parameters

      • gset: number
      • charset: number

      Returns string