웹에서 내려받은 한글 파일명이 아래와 같이 저장되었습니다.
%uD50C%uB798%uADF8%uC2ED.txt
이것을 원상복구하려면 어떻게 해야할까요?
문자열에서 %u 를 &#x 로 변경 하신다음 html entity 를 revoke 하면 됩니다.
웹 tool 로는 https://onlineutf8tools.com/convert-html-entities-to-utf8 에서 변환하실 수 있습니다.
utf8 hex string 을 chr 로 변환을 하셔도 됩니다.
텍스트 포맷에 대한 자세한 정보
<code>
<blockcode>
<apache>
<applescript>
<autoconf>
<awk>
<bash>
<c>
<cpp>
<css>
<diff>
<drupal5>
<drupal6>
<gdb>
<html>
<html5>
<java>
<javascript>
<ldif>
<lua>
<make>
<mysql>
<perl>
<perl6>
<php>
<pgsql>
<proftpd>
<python>
<reg>
<spec>
<ruby>
<foo>
[foo]
문자열에서 %u 를 &#x 로 변경 하신다음 html
문자열에서 %u 를 &#x 로 변경 하신다음 html entity 를 revoke 하면 됩니다.
웹 tool 로는 https://onlineutf8tools.com/convert-html-entities-to-utf8 에서 변환하실 수 있습니다.
utf8 hex string 을 chr 로 변환을 하셔도 됩니다.
댓글 달기