{"id":248,"date":"2025-07-28T22:09:51","date_gmt":"2025-07-28T13:09:51","guid":{"rendered":"https:\/\/www.spacek.xyz\/mle\/?p=248"},"modified":"2025-07-28T22:10:18","modified_gmt":"2025-07-28T13:10:18","slug":"%ec%9c%88%eb%8f%84%ec%9a%b0%ec%97%90%ec%84%9c-%eb%ac%b8%ec%84%9c%ec%9d%98-%ec%9d%b8%ec%bd%94%eb%94%a9-%eb%b3%80%ea%b2%bd%ed%95%98%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/www.spacek.xyz\/mle\/?p=248","title":{"rendered":"\uc708\ub3c4\uc6b0\uc5d0\uc11c \ubb38\uc11c\uc758 \uc778\ucf54\ub529 \ubcc0\uacbd\ud558\uae30"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\ud30c\uc6cc\uc258\uc5d0\uc11c \uc708\ub3c4\uc6b0\uc758 \ub0b4\ubd80 \uae30\ub2a5\uc744 \uc0ac\uc6a9\ud558\uc5ec \ubcc0\uacbd\ud558\ub294 \ubc29\ubc95\uc774\ub2e4.<br>\uc11c\ube0c\ud3f4\ub354\ub97c \ud3ec\ud568\ud55c \ud2b9\uc815 \ud30c\uc77c\uc720\ud615\uc744 \ubaa8\ub450 \ucc3e\uc544\uc11c \ubcc0\ud658\ud574 \uc900\ub2e4.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"true\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\"># \ubcc0\ud658\ud560 \uc778\ucf54\ub529 \uc124\uc815 (EUC-KR = Code Page 949)\n#$sourceEncoding = [System.Text.Encoding]::GetEncoding(949)\n$sourceEncoding = [System.Text.Encoding]::Unicode\n$targetEncoding = [System.Text.Encoding]::UTF8\n\n# \uac80\uc0c9\ud560 \ud655\uc7a5\uc790\ub4e4\n#$extensions = @(\"*.c\", \"*.cpp\", \"*.h\", \"*.hpp\")\n$extensions = @(\"*.xml\")\n\n# \ud604\uc7ac \ub514\ub809\ud1a0\ub9ac \ubc0f \ud558\uc704 \ud3f4\ub354 \ud0d0\uc0c9\nforeach ($ext in $extensions) {\n    Get-ChildItem -Recurse -Filter $ext | ForEach-Object {\n        Write-Host \"\ubcc0\ud658 \uc911: $($_.FullName)\"\n        try {\n            $content = [System.IO.File]::ReadAllText($_.FullName, $sourceEncoding)\n            [System.IO.File]::WriteAllText($_.FullName, $content, $targetEncoding)\n        } catch {\n            Write-Warning \"\ubcc0\ud658 \uc2e4\ud328: $($_.FullName) - $_\"\n        }\n    }\n}\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\uc704\uc758 \uc608\uc81c\ub294 Unicode\ub97c UTF-8 \ub85c \ubcc0\ud658\ud55c\ub2e4. \ub9cc\uc57d EUC-KR \ub610\ub294 CP949\ub97c UTF-8 \ub85c \ubcc0\uacbd\ud558\uace0\uc790 \ud55c\ub2e4\uba74 2\ubc88\uc9f8 \ud589\uc758 \ucf54\uba58\ud2b8\ub97c \uc81c\uac70\ud558\uace0 3\ubc88\uc9f8\ub97c \ucf54\uba58\ud2b8\ub864 \ub9c9\uc73c\uba74 \ub41c\ub2e4.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\ubcc0\ud658\ud560 \ud655\uc7a5\uc790\ub97c \ubc14\uafb8\ub824\uba74 7\ubc88, 8\ubc88\ud589\uc744 \ucc38\uace0\ud55c\ub2e4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ud30c\uc6cc\uc258\uc5d0\uc11c \uc708\ub3c4\uc6b0\uc758 \ub0b4\ubd80 \uae30\ub2a5\uc744 \uc0ac\uc6a9\ud558\uc5ec \ubcc0\uacbd\ud558\ub294 \ubc29\ubc95\uc774\ub2e4.\uc11c\ube0c\ud3f4\ub354\ub97c \ud3ec\ud568\ud55c \ud2b9\uc815 \ud30c\uc77c\uc720\ud615\uc744 \ubaa8\ub450 \ucc3e\uc544\uc11c \ubcc0\ud658\ud574 \uc900\ub2e4. \uc704\uc758 \uc608\uc81c\ub294 Unicode\ub97c UTF-8 \ub85c \ubcc0\ud658\ud55c\ub2e4. \ub9cc\uc57d EUC-KR \ub610\ub294 CP949\ub97c UTF-8 \ub85c \ubcc0\uacbd\ud558\uace0\uc790 \ud55c\ub2e4\uba74 2\ubc88\uc9f8 \ud589\uc758 \ucf54\uba58\ud2b8\ub97c \uc81c\uac70\ud558\uace0 3\ubc88\uc9f8\ub97c \ucf54\uba58\ud2b8\ub864 \ub9c9\uc73c\uba74 \ub41c\ub2e4. \ubcc0\ud658\ud560 \ud655\uc7a5\uc790\ub97c \ubc14\uafb8\ub824\uba74 7\ubc88, &hellip; <a href=\"https:\/\/www.spacek.xyz\/mle\/?p=248\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-248","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"views":217,"_links":{"self":[{"href":"https:\/\/www.spacek.xyz\/mle\/index.php?rest_route=\/wp\/v2\/posts\/248","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.spacek.xyz\/mle\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.spacek.xyz\/mle\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.spacek.xyz\/mle\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.spacek.xyz\/mle\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=248"}],"version-history":[{"count":3,"href":"https:\/\/www.spacek.xyz\/mle\/index.php?rest_route=\/wp\/v2\/posts\/248\/revisions"}],"predecessor-version":[{"id":251,"href":"https:\/\/www.spacek.xyz\/mle\/index.php?rest_route=\/wp\/v2\/posts\/248\/revisions\/251"}],"wp:attachment":[{"href":"https:\/\/www.spacek.xyz\/mle\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=248"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.spacek.xyz\/mle\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=248"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.spacek.xyz\/mle\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=248"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}