Unicode

scalation.Unicode
object Unicode

The Unicode object provides arrays to facilitate the use of Unicode. ScalaTion currently uses a few UTF-16 characters, see code below. Most UTF-16 characters are 2 bytes (16 bits). Extended characters are encoded in 4 bytes. ScalaTion limits characters to the range 'U+0000' to 'U+2bff'. Developers should test Unicode symbols here before trying them in the code.

Attributes

See also

en.wikipedia.org/wiki/UTF-16

en.wikipedia.org/wiki/List_of_Unicode_characters

arxiv.org/abs/1112.1751

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Unicode.type

Members list

Value members

Concrete methods

def sub(i: Int): String

Unicode characters for subscripts derived from integer 'i'

Unicode characters for subscripts derived from integer 'i'

Value parameters

i

the integer to convert into a subscript

Attributes

def sup(i: Int): String

Unicode characters for superscripts derived for integer 'i'.

Unicode characters for superscripts derived for integer 'i'.

Value parameters

i

the integer to convert into a subscript

Attributes

Concrete fields

val subc: Array[Char]

Unicode characters for subscripts to 0, 1, ... 9

Unicode characters for subscripts to 0, 1, ... 9

Attributes

val subn: Array[Char]

Unicode numbers for subscripts to 0, 1, ... 9

Unicode numbers for subscripts to 0, 1, ... 9

Attributes

val supc: Array[Char]

Unicode characters for superscripts to 0, 1, ... 9

Unicode characters for superscripts to 0, 1, ... 9

Attributes

val supn: Array[Char]

Unicode numbers for superscripts to 0, 1, ... 9

Unicode numbers for superscripts to 0, 1, ... 9

Attributes