utf8ToOct: Converting from UTF-8 to Octal

Description Usage Arguments Value Author(s) Examples

View source: R/utf8latex.R

Description

utf8ToOct converts from UTF-8 encoded character to Octal

Usage

1
utf8ToOct(utf8char,tZeros=TRUE, sLen=5)

Arguments

utf8char

UTF-8 string

tZeros

logic, pad with zero

sLen

integer, number of digits to return

Value

character

Author(s)

Jose' Gama

Examples

1
2
x <- '\u00E4'
utf8ToOct(x)

Example output

[1] "00344"

utf8latex documentation built on May 30, 2017, 4:30 a.m.