OSL ‐ Unicode - Mistium/Origin-OS GitHub Wiki

Unicode is pretty easy to handle in osl, just use these two super cool methods to convert to and from unicode locations :D

.ord()

log "A".ord()

// this method converts the input character into a number
// corresponding to the index of the character in the unicode character set

.chr()

log 68.chr()

// this method converts from the unicode character set index
// it returns the corresponding unicode character