OSDN Git Service

[feature] UTF-8 処理関数
authorHabu <habu1010+github@gmail.com>
Thu, 18 Feb 2021 11:52:16 +0000 (20:52 +0900)
committerHabu <habu1010+github@gmail.com>
Thu, 18 Feb 2021 14:04:19 +0000 (23:04 +0900)
commit8daf294538acef9f7a0954371ec083ac9513e6df
tree82183b2af74fd5b463a20c2de1023727580a6080
parentf17d442fa6fe925617b84ae68f6dfa14b6d7687d
[feature] UTF-8 処理関数

後の使用のため、utf-8の文字列の先頭の文字のバイト長を調べる関数
utf8_next_char_byte_length() を追加する。
また、locale/utf-8.[ch] を新設し、上記関数と既存の is_utf8_str() を
このファイルに宣言/定義する。
Hengband/Hengband/Hengband.vcxproj
Hengband/Hengband/Hengband.vcxproj.filters
src/Makefile.am
src/locale/japanese.c
src/locale/utf-8.c [new file with mode: 0644]
src/locale/utf-8.h [new file with mode: 0644]