편집 요약 없음 |
편집 요약 없음 |
||
| 19번째 줄: | 19번째 줄: | ||
baseformat = '%d'; head = 'U+' | baseformat = '%d'; head = 'U+' | ||
elseif base == 'x16' then | elseif base == 'x16' then | ||
baseformat = '%x'; head = | baseformat = '%x'; head = 0 | ||
return tonumber(ustring.char(char) + offset, 16) | |||
else | else | ||
baseformat = '%x'; head = 'U+' | baseformat = '%x'; head = 'U+' | ||