#########################
# UTF-8僥僉僗僩價儏乕傾 #
#########################

UTF-8僥僉僗僩價儏乕傾傪嶌傝傑偟偨丅
UTF-8(http://ja.wikipedia.org/wiki/UTF-8)宍幃偺僥僉僗僩僼傽僀儖傪丄P/ECE忋偱昞帵偟傑偡丅

================
僀儞僗僩乕儖曽朄
================

1. 乽utf8view.pex乿傪丄P/ECE偵揮憲偟偰偔偩偝偄丅
2. UTF-8宍幃偺txt僼傽僀儖傪丄P/ECE偵揮憲偟偰偔偩偝偄丅

========
憖嶌曽朄
========

----------------
僼傽僀儖慖戰夋柺
----------------

忋壓嵍塃儃僞儞丂丂丂丂僼傽僀儖傪慖戰偟傑偡丅
俙枖偼俛儃僞儞丂丂丂丂僥僉僗僩昞帵夋柺傊恑傒傑偡丅

----------------
僥僉僗僩昞帵夋柺
----------------

忋壓嵍塃儃僞儞丂丂丂丂夋柺傪僗僋儘乕儖偟傑偡丅
俙枖偼俛儃僞儞丂丂丂丂僼傽僀儖慖戰夋柺傊栠傝傑偡丅

--------
偄偮偱傕
--------

俽俤俴俤俠俿儃僞儞丂丂僾儘僌儔儉傪廔椆偟傑偡丅

========
偁偲偑偒
========

嵟嬤偼丄僨乕僞僼傽僀儖傗愝掕僼傽僀儖偑丄UTF-8宍幃偱曐懚偝傟偰偄傞帠傕懡偔側傝傑偟偨丅
P/ECE偺撪晹暥帤僐乕僪偼僔僼僩JIS宍幃(http://ja.wikipedia.org/wiki/Shift_JIS)偱丄UTF-8宍幃偺僥僉僗僩傪捈愙埖偆帠偑弌棃傑偣傫丅
UTF-8宍幃偺僥僉僗僩傪埖偆偵偼丄僼傽僀儖偺撉傒彂偒帪偵UTF-8佁僔僼僩JIS偺暥帤僐乕僪曄姺傪峴偄傑偡丅
UTF-8佁僔僼僩JIS偺暥帤僐乕僪曄姺偼寁嶼偱峴偆帠偼弌棃偢丄曄姺昞傪巊偆昁梫偑桳傝傑偡丅(http://unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/JIS/SHIFTJIS.TXT)

UTF-8佁僔僼僩JIS偺曄姺昞偼丄扨弮偵幚憰偡傞偲栺28僉儘僶僀僩偖傜偄偺僒僀僘偵側傝傑偡丅
P/ECE偱傕廩暘埖偊傞僒僀僘側偺偱偡偑丄偟偐偟暥帤僐乕僪曄姺偩偗偺偨傔偵28僉儘僶僀僩愯桳偡傞偲偄偆偺偼彮偟栜懱柍偄偱偡丅
偦偙偱丄偳傟偖傜偄梕検傪愡栺偟偰UTF-8佁僔僼僩JIS偺暥帤僐乕僪曄姺傪峴偊傞偐丄帋偟偰傒傞帠偵偟傑偟偨丅

崱夞嵦偭偨曽朄偼丄懍搙傪搙奜帇偱偡丅
嬶懱揑偵偼丄UTF-8佁僔僼僩JIS偺曄姺昞傪埑弅偟偰偍偒丄1暥帤曄姺偛偲偵曄姺昞傪愭摢偐傜揥奐偟側偑傜儕僯傾僒乕僠偟傑偟偨丅
埑弅曽幃偼丄埲壓偺嶰庬椶傪帋偟傑偟偨丅
丒乽CHC (Canonical Huffman Code)乿(http://codezine.jp/article/detail/376)
丒乽RC (Range Coder)乿(http://codezine.jp/article/detail/443)
丒乽BPE (Byte Pair Encoding)乿(http://ja.wikipedia.org/wiki/BPE)

寢壥偼偙偆側傝傑偟偨:
劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劍劅劅劅劍劅劅劅劍劅劅劅劉
劆                  埑弅曽幃                  劆  CHC 劆  RC  劆  BPE 劆
劌劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劑劅劅劅劑劅劅劅劑劅劅劅劎
劆嘆乽SJIS佁UTF8曄姺昞乿偺埑弅屻偺僒僀僘[Byte]劆 12580劆 12846劆 14832劆
劆嘇埑弅曽幃偵墳偠偨揥奐儖乕僠儞偺僒僀僘[Byte]劆   284劆   164劆   144劆
劆嘊暥帤僐乕僪曄姺儖乕僠儞(嫟捠)偺僒僀僘[Byte]劆   784劆   784劆   784劆
劆                    嘆嘇嘊偺崌寁僒僀僘[Byte]劆 13648劆 13794劆 15760劆
劆  sample1.txt UTF8佀SJIS曄姺偵妡偐傞帪娫[昩]劆  26.7劆  62.4劆  14.6劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劏劅劅劅劏劅劅劅劏劅劅劅劊

埑弅棪偼CHC偑堦斣椙偄偱偡丅
棟榑忋偼CHC傛傝傕RC偺曽偑埑弅棪偑椙偄偼偢側偺偱偡偑丄RC偼僿僢僟晹暘偑戝偒偔側傞孹岦偑桳偭偰丄CHC偲桪楎偑媡揮偟偰偟傑偆帠傕桳傞傛偆偱偡丅
懍搙偼BPE偑堦斣椙偄偱偡丅
BPE仺CHC偱栺擇攞丆CHC仺RC傕栺擇攞偲偄偆丄敾傝堈偄懍搙嵎偵側傝傑偟偨丅

埑弅棪偲懍搙傪専摙偟偰丄CHC偑僶儔儞僗偑椙偄偲巚偭偨偺偱丄崱夞偺幚峴僼傽僀儖偼CHC傪巊偭偰價儖僪偟傑偟偨丅
曄姺昞傪扨弮偵幚憰偡傞傛傝傕丄栺敿暘偺儊儌儕愡栺偵側傝傑偟偨丅
懍搙偼丒丒丒戝偒側僥僉僗僩傪埖偆偵偼慡偔幚梡揑偱偼側偄偗傟偳丄彫偝側愝掕僼傽僀儖偺撉傒崬傒側傜偽戝忎晇丒丒丒偐傕(^^;
傑偁丄P/ECE偺堷偒弌偟偑堦偮憹偊偨偲偄偆帠偱丄擺摼偡傞帠偵偟傑偟偨丅

======================
Sun Mar 08 2015
Naoyuki Sawa
nsawa@north.hokkai.net
======================
