{"id":2867,"date":"2025-11-13T15:59:41","date_gmt":"2025-11-13T06:59:41","guid":{"rendered":"https:\/\/uda2.com\/blog\/?p=2867"},"modified":"2025-11-13T19:48:22","modified_gmt":"2025-11-13T10:48:22","slug":"jpnormalizer","status":"publish","type":"post","link":"https:\/\/uda2.com\/blog\/jpnormalizer\/","title":{"rendered":"PDF\u304b\u3089\u30b3\u30d4\u30da\u3057\u305f\u6587\u5b57\u304c\u5fae\u5999\u306b\u5909\u306b\u306a\u3063\u305f\u3089"},"content":{"rendered":"\n<p>PDF\u5185\u306e\u30c6\u30ad\u30b9\u30c8\u3092\u30b3\u30d4\u30da\u3059\u308b\u3068\u4e00\u90e8\u306e\u6f22\u5b57\u304c\u300c\u2faf\u300d\u306e\u3088\u3046\u306b\u5c11\u3057\u5c0f\u3055\u304f\u3072\u3057\u3083\u3052\u3066\u3057\u307e\u3046\u4e8b\u304c\u3042\u308b\u3002<br>\u3053\u308c\u306f<a href=\"https:\/\/ja.wikipedia.org\/wiki\/%E5%BA%B7%E7%85%95%E9%83%A8%E9%A6%96\" target=\"_blank\" rel=\"noopener\" title=\"\u5eb7\u7199\u90e8\u9996\">\u5eb7\u7199\u90e8\u9996<\/a>\u3084<a href=\"https:\/\/ja.wikipedia.org\/wiki\/CJK%E9%83%A8%E9%A6%96%E8%A3%9C%E5%8A%A9\" target=\"_blank\" rel=\"noopener\" title=\"\">CJK\u90e8\u9996\u88dc\u52a9<\/a>\u3068\u3044\u3046\u672c\u6765\u306f\u90e8\u9996\u3092\u793a\u3059\u6f22\u5b57\u306b\u8aa4\u5909\u63db\uff08\uff1f\uff09\u3055\u308c\u308b\u3089\u3057\u3044\u3002<br>\u904e\u53bb\u306b\u66f8\u3044\u305f<a href=\"https:\/\/uda2.com\/blog\/mac_filename\/\" title=\"\">UTF-8-MAC\uff08NFD\uff09\u306e\u554f\u984c<\/a>\u3082\u542b\u3081\u3066\u5bfe\u7b56\u3057\u305f\u65e5\u672c\u8a9e\u3092\u30ce\u30fc\u30de\u30e9\u30a4\u30ba\u3059\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f5c\u3063\u3066\u307f\u307e\u3057\u305f\u3002<br><a href=\"https:\/\/github.com\/uda2\/jpnormalizer\" target=\"_blank\" rel=\"noopener\" title=\"\">https:\/\/github.com\/uda2\/jpnormalizer<\/a><\/p>\n\n\n\n<!--more-->\n\n\n\n<p>\u3044\u3065\u308c\u3082\u300c\u8aad\u3081\u7121\u3044\u308f\u3051\u3067\u306f\u7121\u3044\u304b\u3089\u305d\u306e\u307e\u307e\u3067\u3048\u3048\u3084\u3093\u300d\u3063\u3066\u611f\u60f3\u306e\u4eba\u3082\u591a\u3044\u304b\u3082\u3057\u308c\u306a\u3044\u3067\u3059\u304cWindows\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u306bUTF-8-MAC\u3092\u4f7f\u3046\u3068\u4e00\u90e8\u306e\u30bd\u30d5\u30c8\u3067\u4e0d\u90fd\u5408\u304c\u8d77\u304d\u305f\u308a\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u691c\u7d22\u306e\u969b\u306b\u5225\u306e\u6587\u5b57\u306a\u306e\u3067\u30d2\u30c3\u30c8\u3057\u306a\u3044\u3068\u3044\u3046\u554f\u984c\u304c\u767a\u751f\u3057\u307e\u3059\u306e\u3067\u3001\u30de\u30c3\u30af\u30e6\u30fc\u30b6\u30fc\u5411\u3051\u306b\u30d5\u30a1\u30a4\u30eb\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u6a5f\u80fd\u3092\u4ed8\u3051\u308b\u3068\u304d\u3084PDF\u306e\u5185\u5bb9\u3092\u30b3\u30d4\u30da\u3059\u308b\u53ef\u80fd\u6027\u306e\u9ad8\u3044\u30d5\u30a9\u30fc\u30e0\u3067\u306f\u6709\u7528\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u8a00\u8a9e\u306fJavascript\u7248\u3068PHP\u7248\u3092\u7528\u610f\u3057\u3066\u3044\u307e\u3059\u3002<br>\u4e2d\u5473\u306fWikipedia\u7b49\u3067\u60c5\u5831\u3092\u96c6\u3081\u3066\u7f6e\u63db\u3057\u3066\u308b\u3060\u3051\u3067\u3059\u304c\u3001\u6700\u521d\u306b\u30c6\u30ad\u30b9\u30c8\u306b\u8a72\u5f53\u7b87\u6240\u304c\u7121\u3051\u308c\u3070\u5909\u63db\u51e6\u7406\u3092\u3057\u306a\u3044\u306e\u3067\u8ca0\u8377\u306f\u4f4e\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>Javascript\u306e\u65b9\u306fnormalize\u3068\u3044\u3046\u95a2\u6570\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u3066<br>UTF-8-MAC\u554f\u984c\u3060\u3051\u306a\u3089.normalize(&#8220;NFC&#8221;)\u3001\u5eb7\u7199\u90e8\u9996\u3082\u5909\u63db\u3057\u305f\u3044\u306a\u3089.normalize(&#8220;NFKC&#8221;)\u3068\u5b9f\u884c\u3059\u308b\u3068\u5909\u63db\u53ef\u80fd\u3067\u30cd\u30a4\u30c6\u30a3\u30d6\u306a\u5206\u51e6\u7406\u7684\u306b\u306f\u901f\u3044\u306e\u3067\u3059\u304c<br>\u591a\u8a00\u8a9e\u7528\u306e\u4e0d\u5fc5\u8981\u306a\u6587\u5b57\u3082\u5909\u63db\u3055\u308c\u3066\u3057\u307e\u3046\u306e\u306b\u3001CJK\u90e8\u9996\u88dc\u52a9\u304c\u5909\u63db\u3055\u308c\u306a\u3044\u3068\u3044\u3046<br>\u6fc1\u97f3\u534a\u6fc1\u97f3\u3060\u3051\u3067\u306a\u304f\u5168\u3066\u306e\u8a00\u8a9e\u3092\u6b63\u898f\u5316\u3059\u308b\u306e\u3067\u7d50\u679c\u8ca0\u8377\u304c\u591a\u3081\u306a\u306e\u3067\u81ea\u524d\u3067\u7528\u610f\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>PHP\u306e\u65b9\u3082Normalizer::normalize()\u304c\u3042\u308a\u3001php-intl\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u304b\u6709\u52b9\u5316\u3059\u308b\u3068\u4f7f\u3048\u308b\u304c<br>Javascriptnormalize\u95a2\u6570\u3068\u540c\u69d8\u306b\u591a\u8a00\u8a9e\u5bfe\u5fdc\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u5197\u9577\u306a\u306e\u3067\u81ea\u524d\u3067\u5909\u63db\u30c6\u30fc\u30d6\u30eb\u3092\u7528\u610f\u3057\u3066\u5909\u63db\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>Github\u3068\u304b\u3044\u3044\u304b\u3089\u4f7f\u3063\u3066\u307f\u305f\u3044\u3063\u3066\u65b9\u306e\u305f\u3081\u306b\u304a\u8a66\u3057\u7248\u3082\u7528\u610f\u3057\u3066\u307e\u3059\u3002<br><a href=\"https:\/\/uda2.com\/github\/jpnormalizer_sample.php\">https:\/\/uda2.com\/github\/jpnormalizer_sample.php<\/a><\/p>\n\n\n\n<p>\u203bUTF-8-MAC\uff08NFD\uff09\u306e\u554f\u984c\u306fMac\u306e\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u304cHFS+\u304b\u3089APFS\u306b\u306a\u3063\u3066\u304b\u306a\u308a\u6e1b\u3063\u3066\u307e\u3059\u3002<br>\u203bNFC\u306e\u5909\u63db\u3059\u308b\u306a\u3089\u534a\u89d2\u2192\u5168\u89d2\u3082\u7d44\u307f\u8fbc\u3093\u3067\u3082\u826f\u3055\u305d\u3046\u3067\u3059\u304cAA\uff08\u30a2\u30b9\u30ad\u30fc\u30a2\u30fc\u30c8\uff09\u3068\u304b\u3067\u4f7f\u3046\u306e\u3067\u6562\u3048\u3066\u5165\u308c\u3066\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>PDF\u5185\u306e\u30c6\u30ad\u30b9\u30c8\u3092\u30b3\u30d4\u30da\u3059\u308b\u3068\u4e00\u90e8\u306e\u6f22\u5b57\u304c\u300c\u2faf\u300d\u306e\u3088\u3046\u306b\u5c11\u3057\u5c0f\u3055\u304f\u3072\u3057\u3083\u3052\u3066\u3057\u307e\u3046\u4e8b\u304c\u3042\u308b\u3002\u3053\u308c\u306f\u5eb7\u7199\u90e8\u9996\u3084CJK\u90e8\u9996\u88dc\u52a9\u3068\u3044\u3046\u672c\u6765\u306f\u90e8\u9996\u3092\u793a\u3059\u6f22\u5b57\u306b\u8aa4\u5909\u63db\uff08\uff1f\uff09\u3055\u308c\u308b\u3089\u3057\u3044\u3002\u904e\u53bb\u306b\u66f8\u3044\u305fUTF-8-MAC\uff08NFD\uff09\u306e<\/p>\n","protected":false},"author":2,"featured_media":2870,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[205],"tags":[256,66,81],"class_list":["post-2867","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-creatorsdiary","tag-github","tag-javascript","tag-php"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/posts\/2867","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/comments?post=2867"}],"version-history":[{"count":5,"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/posts\/2867\/revisions"}],"predecessor-version":[{"id":2873,"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/posts\/2867\/revisions\/2873"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/media\/2870"}],"wp:attachment":[{"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/media?parent=2867"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/categories?post=2867"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/tags?post=2867"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}