KTUGFaq

KTUG FAQ

·Î±×ÀÎ:
ºñ¹Ð¹øÈ£:
°¡ÀÔ
A well-known friend is a treasure.
FrontPage › libiconv
¿©·¯ ¹®ÀÚ¼ÂÀ¸·Î º¯È¯ ½ÃÄÑÁִ ǥÁØ ¶óÀ̺귯¸®

¼³Ä¡

Linux

Linux´Â glibc¸¦ ¾²°í ÀÖ°í iconv()ÇÔ¼ö¿Í iconvÇÁ·Î±×·¥ÀÌ ³»ÀåµÇ¾î ÀÖ´Ù.

À©µµ¿ìÁî

GnuWin32:libiconv¿¡¼­ ÃֽŠ¹öÀü 1.8À» ¹Þ´Â´Ù. <!> GnuWin32:libintlµµ ¼³Ä¡ÇØ¾ß ÇÕ´Ï´Ù.


  • ÀÌ ÆÄÀÏÀÇ ¾ÐÃàÀ» Ç®°í bin/*.dll°ú bin/*.exe¸¸À» PATH°¡ ÀâÇôÀÖ´Â °÷¿¡ º¹»çÇØ ³ÖÀ¸¸é °£´ÜÈ÷ ¼³Ä¡°¡ µË´Ï´Ù.
  • libiconv-2.dllÀº ´Ù¸¥ GnuWin32 ÆÐÅ°ÁöµéÀÌ ÇÊ¿ä·Î ÇÏ´Â °æ¿ì°¡ ¸¹½À´Ï´Ù. ÀÌ °æ¿ì ½Ã½ºÅÛ µð·ºÅ丮(windows/systerm/) ¾Æ·¡¿¡ (ȤÀº windows/system32¾Æ·¡) º¹»çÇØ ³ÖÀ¸¼¼¿ä.

libintl

http://prdownloads.sourceforge.net/gnuwin32/libintl-0.11.5-2-bin.zip
  • ¾ÐÃàÀ» Ç®°í bin/libintl-2.dllÀ» ½Ã½ºÅÛ µð·ºÅ丮 ¹Ø¿¡ º¹»çÇØ ³ÖÀ¸¸é µË´Ï´Ù.

»ç¿ë¹ý

EUC-KR ¹®ÀÚ¼ÂÀÇ ÆÄÀÏ foo.file À» UTF-8 ¹®ÀÚ¼ÂÀ¸·Î º¯È¯ÇÏ¿© ÆÄÀÏ foo.utf8 ·Î ÀúÀåÇÏ°íÀÚ ÇÒ ¶§
#> iconv -f EUC-KR -t UTF-8 foo.file > foo.utf8

ÀÀ¿ë

Mathematica ȤÀº SWP¿¡¼­ ÇѱÛÀ» ÀÔ·ÂÇßÀ» °æ¿ì UTF-8·Î ÀúÀåµÇÁö ¾Ê°í UniCode ÇüÅ·ΠÁ÷Á¢ ÀúÀåµÈ´Ù. ÀÌ°ÍÀ» HLaTeXÀ̳ª CJKLaTeX¿¡¼­ ½á¸ÔÀ» ¼ö ÀÖÀ¸·Á¸é ÆÞ ½ºÅ©¸³Æ®·Î ÇÊÅ͸µ ó¸®ÇÑ ÈÄ (ÇÊÅÍ Ã³¸®Çϸé UTF-8·Î ¹Ù²ñ) ¿øÇÏ´Â ¹®ÀÚ¼Â(EUC-KR°ú °°Àº)À¸·Î libiconv¸¦ ÀÌ¿ëÇØ °íÄ¥ ¼ö ÀÖ´Ù.

cf. KTUGOperate:4487 and KTUGOperate:4521

ÀÏ´Ü UTF-8 Çѱ۷Π¹Ù²Ù´Â µ¥ ¼º°øÇÏ¿´À¸¸é unicode/dhucs·Î ó¸®ÇÏ¸é µÉ °ÍÀÌ´Ù. À§ÀÇ ¿¹´Â dhucs°¡ °³¹ßµÇ±â ÀüÀÇ ÇØ°áÃ¥À̾úÀ½. :)


to be continued

^
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2005-10-31 12:30:44
Processing time 0.0329 sec