halfwidthr-debug: halfwidthr-debug

Description Usage Arguments Details Examples

Description

hexdump prints a given UTF-8 string in hex format.

hexinterpret prints a UTF-8 chars which a given code point corresponds to.

fullwidth_chars returns correspondence table between code points and UTF-8 chars.

Usage

1
2
3
4
5
hexdump(s)

hexinterpret(charcode)

fullwidth_chars(start = 15711361L, end = 15711646L)

Arguments

s

string to hexdump

charcode

a charcode between 0x00000000 to 0xFFFFFFFF

start

charcode of lower limit of the correspondence table(default: 0xEFBC81)

end

charcode of upper limit of the correspondence table(default: 0xEFBC81)

Details

Dig Into UTF-8 Byte Codes

Examples

1
2
3
4
5
6
hexdump("\\u6708\\u304c\\u7dba\\u9e97\\u3067\\u3059\\u306d")

hexinterpret(0xE38384)

crsp_table <- fullwidth_chars()
crsp_table[1:10,]

yutannihilation/halfwidthr documentation built on May 4, 2019, 7:45 p.m.