Upgrade to Pro — share decks privately, control downloads, hide ads and more …

macのunicode正規化.pdf

 macのunicode正規化.pdf

Daiki Ikeshima

March 20, 2023
Tweet

More Decks by Daiki Ikeshima

Other Decks in Programming

Transcript

  1. ͳΜͰจࣈ͕ͣΕͨʁ NBDͷ'JOEFSͱHJUͷจࣈྻͷऔΓѻ͍͕ҟͳΔͨΊʹζϨ͕ى͖ͨ 'JOEFSͰϑΝΠϧΛ࡞੒ 
 ϑΝΠϧ໊Λ߹੒ࡁΈจࣈʮσʢaVDʣʯͰ࡞੒ 
 ˠ'JOEFS͕߹੒ࡁΈจࣈΛ෼ղͯ݁͠߹จࣈྻʮσʢaVDaVʣʯʹม׵ ϑΝΠϧ໊ΛυΩϡϝϯτʹͯ͠ίϐϖͯ͠ϦϯΫΛுΔ 
 ߹੒ࡁΈจࣈͷ··ίϐϖ͞Ε͍ͯΔͷͰ͸ʁ

    
 ˠ'JOEFSͷ࡞ͬͨ݁߹จࣈྻͷϑΝΠϧ໊Λίϐϖ͍ͯͨ͠ ϑΝΠϧͱυΩϡϝϯτΛHJUʹίϛοτ 
 ϑΝΠϧ΋υΩϡϝϯτ಺ϦϯΫ΋߹੒ࡁΈจࣈͷ͸ͣʁʁ 
 ˠυΩϡϝϯτ಺ϦϯΫ͸݁߹จࣈྻʮσʢaVDaVʣʯͷ·· 
 ϑΝΠϧ࣮ମ͸HJU͕߹੒ࡁΈจࣈʮσʢaVDʣʯʹ࠶ม׵͍ͯ͠Δ ࡞੒ ϦϯΫ HJU 
 DPNNJU
  2. 6OJDPEFਖ਼نԽ 6OJDPEFਖ਼نԽ͸ɺݟͨ໨͕ҰॹͳͷʹίʔυϙΠϯτ͕ҧ͏৔߹ʹ ੜ͡ΔࠞཚΛܰݮͤ͞Δͱظ଴͞ΕΔ /'% /PSNBMJ[BUJPO'PSN$BOPOJDBM%FDPNQPTJUJPO  ࢹ֮తɾҙຯతʹ౳Ձͳจࣈྻʹ෼ղ͠ɺ݁߹จࣈྻʹ͢Δ /'$ /PSNBMJ[BUJPO'PSN$BOPOJDBM$PNQPTJUJPO 

    /'%্ͨ͠Ͱɺࢹ֮తɾҙຯతʹ౳ՁͳจࣈྻΛ߹੒͠ɺ߹੒ࡁΈจࣈʹ͢Δ σˠς ʃ σˠς ʃˠσ ߹੒ࡁΈจࣈͱ݁߹จࣈྻ͕͍ࠞͬͯ͡Δͱ΍΍͍͜͠ͷͰͲ͔ͬͪʹਖ਼نԽ͢Δ͜ͱ ˞ଞʹಉҰจࣈछͷ൑ఆ͕؇͍/',%ɺ/',$΋͋Δ
  3. ΞϓϦέʔγϣϯ͝ͱͷਖ਼نԽରԠ 'JOEFS 
 /'%ͳͷͰίʔυϙΠϯτͷҧ͏ϑΝΠϧ͸࡞੒ෆೳ NLEJS UPVDIίϚϯυ 
 ਖ਼نԽͳ͠ͳͷͰҧ͏ίʔυϙΠϯτͷσΟϨΫτϦϑΝΠϧ΋࡞੒Մೳɻͨͩ͠࡞੒લʹϥϯλ ΠϜਖ਼نԽͰϑΝΠϧͷଘࡏ֬ೝ͕͋ΔͷͰɺಉ͡ʹݟ͑ΔσΟϨΫτϦΛॏෳͯ͠࡞੒͢Δ͜ͱ͸ Ͱ͖ͳ͍ɻ

    NW DQίϚϯυ 
 ࢀরϑΝΠϧΛϥϯλΠϜਖ਼نԽͰ୳ࡧ͢ΔɻͳͷͰ࣮ମϑΝΠϧ͕ͲͪΒͷਖ਼نԽͰ͋ͬͯ΋ࢀর Մೳɻ ҰํҠಈɾίϐʔઌϑΝΠϧ໊͸ਖ਼نԽ͞Εͳ͍ɻ͔͠͠Ҡಈɾίϐʔઌʹ͢ͰʹϑΝΠϧ͕͋Δ͔ ͷνΣοΫ͸ϥϯλΠϜਖ਼نԽͰߦΘΕɺଘࡏ͍ͯ͠Ε͹ૢ࡞͸Ωϟϯηϧ͞ΕΔɻ