
    idn wrapper - Windows 偵偍偗傞僋儔僀傾儞僩懁偱偺 IDN 曄姺僜僼僩僂僃傾

    Copyright (c) 2000,2001,2002 Japan Network Information Center.
                All rights reserved.

    *** 拲堄 **********************************************************
    傕偟傕偡偱偵 mDN Wrapper (idn wrapper 偺慜恎) 偑僀儞僗僩乕儖偝傟偰
    偄傞儅僔儞偵 idn wrapper 傪僀儞僗僩乕儖偡傞応崌偵偼丄僀儞僗僩乕儖慜
    偵丄儔僢僾偝傟偰偄傞偡傋偰偺僾儘僌儔儉傪傾儞儔僢僾偟偰偔偩偝偄丅
    *******************************************************************


1. 偼偠傔偵

    Windows 偱崙嵺壔僪儊僀儞柤傪埖偊傞傛偆偵偡傞偨傔偵偼丄Windows 忋偺
    僋儔僀傾儞僩傾僾儕働乕僔儑儞偵偍偄偰丄夝寛偟傛偆偲偡傞柤慜偺僄儞僐乕
    僨傿儞僌傪丄DNS 僒乕僶偑庴晅偗傞宍幃偺傕偺偵曄姺偡傞昁梫偑偁傝傑偡丅
    偙傟偼丄Windows 忋偺傾僾儕働乕僔儑儞偑丄偒偪傫偲崙嵺壔僪儊僀儞柤傪
    埖偊傞傛偆偵側偭偰偄側偗傟偽側傜側偄丄偲偄偆偙偲偱偁傝丄杮棃偼偦傟
    偧傟偺僾儘僌儔儉偺嶌惉幰偑峴側偆傋偒偙偲偱偡丅
    
    尰嵼 IETF 偵偰崙嵺壔僪儊僀儞柤偺僼儗乕儉儚乕僋傪昗弨壔偡傞搘椡偑懕
    偗傜傟偰偍傝丄偦偺寢壥偲偟偰堦楢偺 RFC 偑傕偆偡偖敪峴偝傟傞偙偲偵
    側偭偰偄傑偡偑丄偦傟偱傕崙嵺壔僪儊僀儞柤偵懳墳偟偨傾僾儕働乕僔儑儞
    偼傑偩傑偩彮側偄偺偑尰忬偱偡丅

    偦偙偱丄婛懚偺傾僾儕働乕僔儑儞傪崙嵺壔僪儊僀儞柤偵懳墳偝偣傞偨傔偺
    僿儖僷乕傾僾儕働乕僔儑儞偑昁梫偵側傝傑偡丅idnkit 偵娷傑傟傞 runidn 
    僐儅儞僪偼 Unix 宯偺 OS 偱偺堦偮偺夝寛嶔偱偡偟丄Windows 偵懳偡傞夝
    寛嶔偲偟偰偼偙偙偱愢柧偡傞 idn wrapper 偑偁傝傑偡丅
    
    Windows 偵偍偄偰丄懡偔偺応崌丄僪儊僀儞柤夝寛偺梫媮偼WINSOCK DLL 偵
    搉偝傟傑偡丅偦偙偱丄WINSOCK DLL 傪崙嵺壔僪儊僀儞柤懳墳偺傕偺偵抲偒
    姺偊偰傗傟偽丄婛懚偺僾儘僌儔儉偐傜偱傕崙嵺壔僪儊僀儞柤傪巊偆偙偲偑
    偱偒傞傛偆偵側傝傑偡丅

2. 幚尰曽朄

2.1. 儔僢僷乕DLL

    儔僢僷乕DLL 偼丄傾僾儕働乕僔儑儞偲尦偺DLL 偲偺娫偵妱傝崬傫偱丄傾僾儕
    働乕僔儑儞偐傜偺DLL 偺屇傃弌偟傪墶庢傝偟偰丄杮棃偺DLL 偲偼堎側偭偨張
    棟傪偝偣傞傕偺偱偡丅

    +------------+  Call  +------------+  Call  +------------+
    |            |------->|            |------->|            |
    |Application |        |Wrapper DLL |        |Original DLL|
    |            |<-------|            |<-------|            |
    +------------+ Return +------------+ Return +------------+
                           additional
			   processing
			   here

    傾僾儕働乕僔儑儞偐傜偺DLL 偺屇傃弌偟偼儔僢僷乕 DLL偵搉偝傟傑偡丅儔僢
    僷乕 DLL偼偦偙偱丄晅壛揑側張棟傪峴側偭偰丄尦偺DLL 偺僄儞僩儕傪屇傃弌
    偟傑偡丅傑偨丄尦偺DLL 偺張棟寢壥偼堦扷儔僢僷乕 DLL偵曉偝傟丄偙偙偱傕
    晅壛揑側張棟傪峴側偭偰丄嵟廔揑側寢壥偑傾僾儕働乕僔儑儞偵曉偝傟傞偙偲
    偵側傝傑偡丅

    idn wrapper 偱偼丄WINSOCK DLL偺
    
        WSOCK32.DLL     WINSOCK V1.1
	WS2_32.DLL      WINSOCK V2.0

    偵懳偡傞儔僢僷乕DLL 傪採嫙偟偰丄崙嵺壔僪儊僀儞柤偺柤慜夝寛偑偱偒傞傛
    偆偵偟傑偡丅16價僢僩斉偺WINSOCK (WINSOCK.DLL) 偼懳徾奜偱偡丅

2.2. 張棟懳徾偺API

    idn wrapper 偼WINSOCK 偺柤慜夝寛偵娭楢偟偨API 偵偮偄偰偺傒晅壛揑側張
    棟傪峴側偄傑偡丅張棟偺懳徾偲側傞WINSOCK API偼埲壓偺傕偺偱偡丅

    WINSOCK 1.1, WINSOCK 2.0 偺椉曽偵偁傞傕偺
    
        gethostbyaddr
	gethostbyname
	WSAAsyncGetHostByAddr
	WSAAsyncGetHostByName
	
    WINSOCK 2.0 偩偗偵偁傞傕偺
    
        WSALookupServiceBeginA
	WSALookupServiceNextA
	WSALookupServiceEnd

    傾僾儕働乕僔儑儞偵傛偭偰偼丄偙傟傜偺API 傪巊傢側偄偱撈帺偵僪儊僀儞柤
    偺夝寛傪峴側偆傕偺傕偁傝傑偡丅椺偊偽丄nslookup偼丄偙傟傜偺API 傪巊傢
    側偄偱丄撪晹偱撈帺偵DNS 儕僋僄僗僩偺惗惉丄夝庍傪峴側偭偰偄傑偡丅摉慠
    偺偙偲側偑傜丄偙傟傜偺傾僾儕働乕僔儑儞偵偮偄偰偼丄idn wrapper 偱偼懡
    尵岅壔懳墳偝偣傞偙偲偼偱偒傑偣傫丅
    
    拲丗WINSOCK 2.0 偵偼丄WIDE CHARACTER 儀乕僗偺柤慜夝寛偺API 偲偟偰

            WSALookupServiceBeginW
            WSALookupServiceNextW
    
        傕偁傝傑偡偑丄偙傟傜偵偮偄偰偼儔僢僾偟傑偣傫丅偙傟傜偺API 偼儅
        僀僋儘僜僼僩巇條偵傛傞崙嵺壔偵懳墳偟偨傕偺偱偡偐傜丄偦偺僼儗乕
        儉儚乕僋忋偱巊偆傋偒傕偺偱偡丅偙傟傜偵偮偄偰偼懠偺懡尵岅壔僼儗乕
        儉儚乕僋偵曄姺偟偰偟傑偆偺偼婋尟偱偼側偄偲敾抐偟傑偟偨丅

2.3. 張棟懳徾奜偺API

    忋婰埲奜偺WINSOCK API 偵偮偄偰偼丄idn wrapper 偼側偵傕偟側偄偱丄尦偺
    WINSOCK API 傪屇傃弌偟傑偡丅

    idn wrapper 偱偼丄尦偺WINSOCK DLL 傪柤慜傪曄偊偰僐僺乕偟丄偦傟傪
    屇傃弌偡傛偆偵嶌傜傟偰偄傑偡丅
    
        wsock32.dll     ->  wsock32o.dll
	ws2_32.dll      ->  ws2_32o.dll

    儔僢僷乕DLL 偼尦偺WINSOCK DLL 偲摨偠柤慜偱嶌惉偝傟傑偡丅廬偭偰idn
    wrapper 偑僀儞僗僩乕儖偝傟偨忬懺偱偼丄
    
        wsock32.dll         idn wrapper for WINSOCK V1.1
	ws2_32.dll          idn wrapper for WINSOCK V2.0
	wsock32o.dll        Original WINSOCK V1.1 DLL
	ws2_32o.dll         Original WINSOCK V2.0 DLL 

    偲側傝傑偡丅

2.4. 旕摨婜 API

    僪儊僀儞柤偺曄姺偼丄埲壓偺僞僀儈儞僌偱峴側傢傟傞昁梫偑偁傝傑偡丅

        DNS 傊偺儕僋僄僗僩帪
	
            儘乕僇儖僄儞僐乕僨傿儞僌 -> DNS 僄儞僐乕僨傿儞僌

        DNS 偐傜偺墳摎庴怣帪

            DNS 僄儞僐乕僨傿儞僌 -> 儘乕僇儖僄儞僐乕僨傿儞僌

    摨婜API 偵偍偄偰偼丄儘乕僇儖僄儞僐乕僨傿儞僌偐傜DNS 僄儞僐乕僨傿儞僌
    傊偺曄姺偼丄尦偺API 傪屇傃弌偡慜偵峴傢傟丄DNS 僄儞僐乕僨傿儞僌偐傜儘乕
    僇儖僄儞僐乕僨傿儞僌傊偺曄姺偼丄尦偺API 偐傜暅婣偟偰偒偨偲偙傠偱峴側
    傢傟傑偡丅

    偟偐偟丄WINSOCK 偺埲壓偺API 偼旕摨婜API 偱丄DNS 偐傜偺墳摎庴怣慜偵暅
    婣偟偰偟傑偄傑偡丅

	WSAAsyncGetHostByAddr
	WSAAsyncGetHostByName

    偙傟傜偺API 偵偍偄偰偼丄柤慜夝寛偺姰椆偼丄Windows 傊偺儊僢僙乕僕偵傛偭
    偰捠抦偝傟傑偡丅偙偺偨傔丄DNS 僄儞僐乕僨傿儞僌偐傜儘乕僇儖僄儞僐乕僨傿儞
    僌傊偺曄姺傪峴側偆偵偼丄儔僢僷乕偼捠抦愭偺僂傿儞僪僂僾儘僔僕儍偺儊僢
    僙乕僕僉儏乕傪僼僢僋偟偰丄偙偺姰椆儊僢僙乕僕傪曔妉偡傞昁梫偑偁傝傑偡丅

    偦偙偱丄旕摨婜API 偑屇傃弌偝傟偨応崌偵偼丄idn wrapper 偼丄捠抦愭偺僂傿儞
    僪僂僾儘僔僕儍乮偙傟偼API 偺僷儔儊僞偱巜帵偝傟傑偡乯偵僼僢僋傪愝掕偟
    傑偡丅僼僢僋偑姰椆儊僢僙乕僕乮偙傟傕API 偺僷儔儊僞偱巜帵偝傟傑偡乯傪
    専弌偟偨側傜丄僼僢僋偼寢壥偺奿擺椞堟乮偙傟傕API 偺僷儔儊僞偱巜帵偝傟
    偰偄傑偡乯偺僪儊僀儞柤傪丄DNS 懁偺僄儞僐乕僨傿儞僌偐傜儘乕僇儖僄儞僐乕
    僨傿儞僌偵曄姺偡傞傕偺偲偟傑偡丅

2.5. Wrapper DLL 偺僀儞僗僩乕儖

    WINSOCK DLL 偼Windows 偺僔僗僥儉僨傿儗僋僩儕偵抲偐傟偰偄傑偡丅
    WINSOCK 傪妋幚偵儔僢僾偡傞偵偼丄僔僗僥儉僨傿儗僋僩儕偵偍偄偰
    
        僆儕僕僫儖WINSOCK DLL 偺柤慜偺曄峏

	    ren wsock32.dll wsock32o.dll
	    ren ws2_32.dll  ws2_32o.dll

	儔僢僷乕DLL 偺摫擖
	
	    copy somewhere\wsock32.dll wsock32.dll
	    copy somewhere\ws2_32.dll  ws2_32.dll
	    copy another DLLs also

    傪峴側偆昁梫偑偁傝傑偡丅

    偟偐偟丄僔僗僥儉僨傿儗僋僩儕偱偙偺傛偆側DLL 偺抲偒姺偊傪峴側偆偺偼戝
    曄婋尟側憖嶌偵側傝傑偡丅
    
    a)  DLL 傪擖傟懼偊偨忬懺偱丄傕偆偄偪偳摨偠憖嶌傪峴側偆偲丄僆儕僕僫儖
        偺WINSOCK DLL 偑幐傢傟偰偟傑偆偙偲偵側傝傑偡丅

    b)  僒乕價僗僷僢僋傗傾僾儕働乕僔儑儞側偳偱丄WINSOCK DLL 傪嵞摫擖偡傞
        傕偺偑偁傝傑偡偑丄偙傟偵傛偭偰傕WINSOCK 偑棙梡晄擻偵側傞偙偲偑偁
        傝傑偡丅

    偙偺傛偆側忬懺偵側傞偲丄僱僢僩儚乕僋婡擻偑慡偔巊偊側偔側偭偨傝丄嵟埆
    偼Windows 偺婲摦偡傜弌棃側偔側傞壜擻惈偑偁傝傑偡丅

    偦偙偱丄idn wrapper 偱偼丄忋偺傛偆側僔僗僥儉儗儀儖偺儔僢僾偱偼側偔丄
    傾僾儕働乕僔儑儞偵懳偡傞儔僢僾傪婎杮婡擻偲偟偰採嫙偡傞傕偺偲偟傑偡丅

    Windows 偵偍偄偰丄DLL 偼丄婎杮揑偵偼

        傾僾儕働乕僔儑儞偺儘乕僪僨傿儗僋僩儕
	%SystemRoot%\System32
	%SystemRoot%
	PATH 偱巜帵偝傟傞僨傿儗僋僩儕

    偺弴彉偱専嶕偝傟偰丄嵟弶偵尒偮偐偭偨傕偺偑儘乕僪偝傟傑偡丅偱偡偐傜丄
    堦斒揑偵偼丄DLL 傪傾僾儕働乕僔儑儞偺儘乕僪僨傿儗僋僩儕偵僀儞僗僩乕儖
    偡傟偽丄偦偺傾僾儕働乕僔儑儞偐傜偺WINSOCK 偺屇傃弌偟傪儔僢僾偡傞偙偲
    偑偱偒傑偡丅

    偨偩偟丄偄偔偮偐偺傾僾儕働乕僔儑儞丄DLL 偱偼丄専嶕僷僗傪宱桼偣偢偵摿
    掕偺DLL 傪儕儞僋偡傞傛偆偵側偭偰偄傞傕偺偑偁傝傑偡丅偙偺傛偆側峔惉偺
    傾僾儕働乕僔儑儞丄DLL 偑巊傢傟偨応崌偵偼 idn wrapper偱偼懳張偡傞偙偲
    偼偱偒傑偣傫丅

    拲丗Netscape偼摿掕DLL 偵僶僀儞僪偝傟偰偄傞傛偆偱丄傾僾儕働乕僔儑儞僨傿
        儗僋僩儕傊偺僀儞僗僩乕儖偱偼儔僢僾偱偒傑偣傫丅WINSOCK DLL 帺懱傕
	僔僗僥儉僨傿儗僋僩儕偺娭楢DLL 偵僶僀儞僪偝傟偰偄傞傛偆偱偡丅堦曽丄
	Internet Explore傗Windows Media Player偼昗弨偺僒乕僠僷僗偵廬偭偰
        偄傞偺偱丄儔僢僾偡傞偙偲偑偱偒傑偡丅

2.6. 僄儞僐乕僨傿儞僌偺曄姺埵抲

    WINSOCK 2.0 傪僒億乕僩偟偰偄傞Windows 偵偼丄WINSOCK 偺1.1 偲2.0 偺偦
    傟偧傟偵懳墳偡傞DLL 偑偁傝丄WINSOCK 1.1 偺API 偺屇傃弌偟偼2.0 偺摨偠
    僄儞僩儕偵儕僟僀儗僋僩偝傟傞傛偆偵側偭偰偄傑偡丅

        +------------+  Call  +------------+  Call  +------------+
        |            |------->|            |------->|            |
        |Application |        |WINSOCK 1.1 |        |WINSOCK 2.0 |
        |            |<-------|            |<-------|            |
        +------------+ Return +------------+ Return +------------+

    偙偺応崌偵偼1.1 偵懳偡傞屇傃弌偟傕2.0 偵懳偡傞屇傃弌偟傕丄偲傕偵V2.0
    梡偺DLL 偵搉偝傟傞偺偱丄2.0梡偺儔僢僷乕DLL 懁偩偗偱僄儞僐乕僨傿儞僌偺
    曄姺傪峴側偆傛偆偵偡傞傋偒偱偟傚偆丅

    堦曽丄WINSOCK 1.1 偟偐僒億乕僩偟偰偄側偄応崌(Win95)偵偼丄1.1 偵懳墳偟
    偨DLL 偟偐偁傝傑偣傫丅

        +------------+  Call  +------------+
        |            |------->|            |
        |Application |        |WINSOCK 1.1 |
        |            |<-------|            |
        +------------+ Return +------------+

    偙偺応崌偵偼昁慠揑偵1.1 梡偺儔僢僷乕DLL 偱僄儞僐乕僨傿儞僌傪曄姺偟側
    偗傟偽側傝傑偣傫丅
    
    idn Wrapepr 偑windows 偺僔僗僥儉僨傿儗僋僩儕偵僀儞僗僩乕儖偝傟偨応崌
    偵偼丄忋偺捠傝偵摦嶌偡傞偺偱丄
    
        WINSOCK 2.0 偁傝        2.0 儔僢僷乕偱曄姺
	WINSOCK 1.1 偺傒        1.1 儔僢僷乕偱曄姺

    偡傞昁梫偑偁傝傑偡丅
    
    偟偐偟丄傾僾儕働乕僔儑儞僨傿儗僋僩儕偵僀儞僗僩乕儖偝傟偨応崌偵偼摦嶌
    偑曄傢偭偰偒傑偡丅Windows 晅懏偺 WINSOCK 1.1 DLL偼丄僔僗僥儉僨傿儗僋
    僩儕偺WINSOCK 2.0 偵僶僀儞僪偝傟偰偄傞偨傔丄傾僾儕働乕僔儑儞僨傿儗僋
    僩儕懁偺WINSOCK 2.0 儔僢僷乕DLL 偵偼儕僟僀儗僋僩偝傟偰偒傑偣傫丅偙偺
    偨傔丄傾僾儕働乕僔儑儞僨傿儗僋僩儕傊偺僀儞僗僩乕儖偵偍偄偰偼丄1.1DLL丄
    2.0DLL偺椉曽偱僄儞僐乕僨傿儞僌傪曄姺偡傞昁梫偑偁傝傑偡丅

    偙偺傛偆側DLL 娫偺僶僀儞僨傿儞僌偼僪僉儏儊儞僩偝傟偰偄傑偣傫偺偱丄娐
    嫬丄僶乕僕儑儞偵傛偭偰偼堎側偭偨摦嶌傪偡傞偐傕抦傟傑偣傫丅偦偙偱idn 
    wrapper 偱偼丄儗僕僗僩儕抣偵傛偭偰丄儔僢僷乕DLL 偺偳偙偱曄姺傪峴側偆
    偐傪寛掕偡傞傛偆偵偟偰丄僀儞僗僩乕儖愭偵傛傞嵎堎丄偁傞偄偼僶乕僕儑儞
    偵傛傞嵎堎傪媧廂偡傞傛偆偵偟傑偡丅
    
    idn wrapper 梡偺儗僕僗僩儕愝掕偼
    
        HKEY_LOCAL_MACHINE\SOFTWARE\JPNIC\IDN
	HKEY_CURRENT_USER\SOFTWARE\JPNIC\IDN

    埲壓偵攝抲偝傟傑偡丅僄儞僐乕僨傿儞僌曄姺傪峴側偆埵抲偵偮偄偰偼丄偙偺
    捈壓偺儗僕僗僩儕抣 Where乮REG_DWORD乯 偵傛偭偰寛掕偟傑偡丅桳岠側抣偼丄
    
        儗僕僗僩儕 Where (REG_DWORD)

        0       WINSOCK 1.1丄WINSOCK 2.0 偺椉曽偱曄姺偡傞
	1       WINSOCK 2.0 偑偁傟偽丄WINSOCK 2.0偩偗偱曄姺偡傞
	        WINSOCK 1.1 偩偗偺応崌偵偼 WINSOCK 1.1 偱曄姺偡傞
	2       WINSOCK 1.1 偩偗偱曄姺偡傞
	3       WINSOCK 2.0 偩偗偱曄姺偡傞
    
    偺係捠傝偱偡丅傾僾儕働乕僔儑儞僨傿儗僋僩儕偵僀儞僗僩乕儖偡傞応崌偵偼
    乽侽乿傪丄僔僗僥儉僨傿儗僋僩儕偵僀儞僗僩乕儖偡傞応崌偵偼乽侾乿傪愝掕
    偡傞昁梫偑偁傝傑偡丅儗僕僗僩儕抣偑懚嵼偟側偄応崌偵偼乽侽乿傪憐掕偟傑
    偡丅偙傟偼傾僾儕働乕僔儑儞僨傿儗僋僩儕傊偺僀儞僗僩乕儖傪昗弨偲偟偨傕
    偺偱偡丅

2.7. 曄姺尦/愭偺僄儞僋僐乕僨傿儞僌

    儔僢僷乕DLL 偱偼丄夝寛偟傛偆偲偡傞僪儊僀儞柤傪丄儅僔儞偺儘乕僇儖僄儞
    僐乕僨傿儞僌偐傜DNS 僒乕僶偺僄儞僐乕僨傿儞僌偵曄姺偟丄傑偨丄DNS 偑曉
    偟偰偒偨僪儊僀儞柤(DNS 僒乕僶偺僄儞僐乕僨傿儞僌)傪儅僔儞偺儘乕僇儖僄儞
    僐乕僨傿儞僌偵栠偟傑偡丅

    尰嵼丄DNS 懁偺崙嵺壔僄儞僐乕僨傿儞僌偵偮偄偰偼丄偄偔偮傕偺曽幃偑採
    埬偝傟偰偄傑偡丅儔僢僷乕DLL 偼偦傟傜偺DNS 懁僄儞僐乕僨傿儞僌偺偳傟偐
    傂偲偮偵曄姺偡傞傛偆偵峔惉偝傟傑偡丅偙偺DNS 懁僄儞僐乕僨傿儞僌偼儗僕
    僗僩儕偱巜帵偝傟傑偡丅偙偺儗僕僗僩儕偵偼丄idn wrapper 偺僀儞僗僩乕儖
    帪偵乮尰帪揰偱偼枹掕偺乯僨僼僅儖僩僄儞僐乕僨傿儞僌偑愝掕偝傟傑偡丅摉
    慠丄偙偺儗僕僗僩儕偼丄屻偱懠偺傕偺偵曄峏偡傞偙偲傕偱偒傑偡丅

    idn wrapper 梡偺儗僕僗僩儕愝掕偼
    
        HKEY_LOCAL_MACHINE\SOFTWARE\JPNIC\IDN
	HKEY_CURRENT_USER\SOFTWARE\JPNIC\IDN

    埲壓偵攝抲偝傟傑偡丅DNS 懁偺僄儞僐乕僨傿儞僌偼儗僕僗僩儕抣 Encoding 
    乮REG_SZ乯偱巜帵偝傟傑偡丅偙偺僄儞僐乕僨傿儞僌柤偼丄libmdn偱擣幆偝傟
    傞傕偺偱側偗傟偽側傝傑偣傫丅

        儗僕僗僩儕  Encoding    (REG_SZ)
	    DNS 僒乕僶懁偺僄儞僐乕僨傿儞僌柤傪愝掕偟傑偡
    
    堦曽丄傾僾儕働乕僔儑儞偑巊梡偟偰偄傞儘乕僇儖僄儞僐乕僨傿儞僌偼丄捠忢
    偼僾儘僙僗偺僐乕僪儁乕僕偐傜媮傔傑偡丅儔僢僷乕DLL 偑巊梡偡傞 'iconv' 
    儔僀僽儔儕偼丄windows 偺僐乕僪儁乕僕柤傪僄儞僐乕僨傿儞僌柤偲偟偰庴晅
    偗傞偙偲偑偱偒傞偺偱丄僐乕僪儁乕僕柤傪偦偺傑傑儘乕僇儖僄儞僐乕僨傿儞
    僌柤偲偟偰巊梡偟傑偡丅

    偟偐偟丄傾僾儕働乕僔儑儞偵傛偭偰偼丄摿掕偺崙嵺壔僄儞僐乕僨傿儞僌偱
    僪儊僀儞柤傪僄儞僐乕僨傿儞僌偟偰偟傑偆傕偺傕偁傝傑偡丅椺偊偽丄IE偱偼
    僪儊僀儞柤傪UTF-8 偱昞婰偡傞傛偆偵巜帵偡傞偙偲偑偱偒傞傛偆偵側偭偰偄
    傑偡丅UTF-8 偵傛傞僄儞僐乕僨傿儞僌偼丄採埬偝傟偰偄傞崙嵺壔曽幃偺傂
    偲偮偱偡偑丄崙嵺壔偝傟偨DNS 僒乕僶偼懠偺僄儞僐乕僨傿儞僌偟偐庴晅偗
    側偄偐傕抦傟傑偣傫丅
    
    偙偺傛偆側忬嫷偵懳張偡傞偨傔丄idn 儔僢僷乕偼丄儘乕僇儖僄儞僐乕僨傿儞
    僌偲偟偰僾儘僌儔儉摿桳偺僄儞僐乕僨傿儞僌傕庴晅偗傞偙偲偑偱偒傞傛偆偵
    偟傑偡丅偙偺傛偆側僾儘僌儔儉摿桳偺儘乕僇儖僄儞僐乕僨傿儞僌偼儗僕僗僩
    儕婰嵹偝傟傞傕偺偲偟傑偡丅

    idn wrapper 梡偺僾儘僌儔儉摿桳偺儗僕僗僩儕愝掕偼
    
        HKEY_LOCAL_MACHINE\SOFTWARE\JPNIC\IDN\PerProg
	HKEY_CURRENT_USER\SOFTWARE\JPNIC\IDN\PerProg

    埲壓偵丄僾儘僌儔儉柤乮幚峴儌僕儏乕儖僼傽僀儖柤乯傪僉乕偲偟偰攝抲偝傟
    傑偡丅椺偊偽丄Internet Explore 偺応崌偵偼丄幚峴儌僕儏乕儖柤偺
    IEXPLORE傪僉乕偲偟偰

        HKEY_LOCAL_MACHINE\SOFTWARE\JPNIC\IDN\PerProg\IEXPLORE

    埲壓偵抲偐傟傑偡丅儘乕僇儖僄儞僐乕僨傿儞僌柤偼丄儗僕僗僩儕抣
    Encoding 乮REG_SZ乯偱巜帵偟傑偡丅偙傟傕libmdn偱擣幆偝傟傞傕偺偱側偗傟
    偽側傝傑偣傫丅

        儗僕僗僩儕  Encoding    (REG_SZ)
	
	    傾僾儕働乕僔儑儞僾儘僌儔儉摿桳偺僄儞僐乕僨傿儞僌柤乮僨僼僅儖
            僩偺僄儞僐乕僨傿儞僌埲奜傪昁梫偲偡傞応崌乯傪巜掕偟傑偡丅

3.僙僢僩傾僢僾偲僐儞僼傿僊儏儗乕僔儑儞

    idn wrapper 偼丄婎杮僀儞僗僩儗乕僔儑儞偲偟偰丄傾僾儕働乕僔儑儞僨傿儗
    僋僩儕偱WINSOCK 傪儔僢僾偟傑偡丅偙傟偵崌傢偣偰丄僙僢僩傾僢僾僾儘僌儔
    儉偲僐儞僼傿僊儏儗乕僔儑儞僾儘僌儔儉偲傪採嫙偟傑偡丅
    
    拲丗僔僗僥儉僨傿儗僋僩儕偱偺儔僢僾傕壜擻偱偡偑丄偙傟偼婋尟側愝掕偱偡
        偺偱丄昗弨僀儞僗僩儗乕僔儑儞偲偟偰偼採嫙偟傑偣傫丅僔僗僥儉僨傿儗
        僋僩儕傊偺僀儞僗僩乕儖傪峴側偆応崌偵偼丄帺屓愑擟偱傗偭偰偔偩偝偄丅
    
3.1.僙僢僩傾僢僾僾儘僌儔儉

    idn wrapper 傪僀儞僗僩乕儖偡傞偵偼"setup.exe" 傪幚峴偟傑偡丅僙僢僩傾僢
    僾僾儘僌儔儉偼埲壓偺張棟傪幚峴偟傑偡丅

    僼傽僀儖偺僀儞僗僩乕儖

        僨傿儗僋僩儕乽\Program Files\JPNIC\idn wrapper乿 乮 僙僢僩傾僢僾
	帪揰偱曄峏壜擻乯埲壓偵丄idn wrapper 傪峔惉偡傞僼傽僀儖傪僐僺乕偟
	傑偡丅

    儗僕僗僩儕偺愝掕
    
        HKEY_LOCAL_MACHINE\Software\JPNIC\IDN 埲壓偵昁梫側儗僕僗僩儕僉乕丄
        儗僕僗僩儕抣傪嶌惉丄愝掕偟傑偡丅
	
	InstallDir	REG_SZ	"<僀儞僗僩乕儖僨傿儗僋僩儕>"
	    idn wrapper 偺僀儞僗僩乕儖僨傿儗僋僩儕偺僷僗柤偱偡丅僙僢僩
	    傾僢僾僾儘僌儔儉偼偙偺僨傿儗僋僩儕偵僆儕僕僫儖偺WINSOCK
	    DLL 偺僐僺乕傪嶌惉偟傑偡丅idn wrapper 偺儔僢僷乕 DLL 偼幚
	    峴帪偵偙偺 DLL 傪嶲徠偟傑偡丅

        ConfFile    REG_SZ      "<僀儞僗僩乕儖僨傿儗僋僩儕>\idn.conf"
	    idn wrapper 偑崙嵺壔僪儊僀儞柤偺曄姺張棟偵巊梡偟偰偄傞
	    idnkit 偺僐儞僼傿僊儏儗乕僔儑儞僼傽僀儖偺柤慜偱偡丅偙偺僼傽
	    僀儖偼崙嵺壔僪儊僀儞柤偺張棟偵昁梫側奺庬偺僷儔儊乕僞傪愝掕
	    偡傞偨傔偺傕偺偱偡丅徻偟偔偼僼傽僀儖偺撪梕傪偛棗偔偩偝偄丅
	    偙偺抣偼屻弎偡傞僐儞僼傿僊儏儗乕僔儑儞僾儘僌儔儉偱曄峏偡傞
	    偙偲偑偱偒傑偡丅
    
        LogFile     REG_SZ      "<僀儞僗僩乕儖僨傿儗僋僩儕>\idn_wrapper.log"
	    idn wrapper 偺儘僌僼傽僀儖偺柤慜偱偡丅偙偺抣傕僐儞僼傿僊儏
	    儗乕僔儑儞僾儘僌儔儉偱曄峏偡傞偙偲偑偱偒傑偡丅
    
	LogLevel	DWORD	-1
	    儘僌儗儀儖偺巜掕偱偡丅僨僼僅儖僩偼 -1 偱丄偙傟偼慡偔儘僌傪
	    弌椡偟側偄偲偄偆堄枴偱偡丅偙偺抣傕僐儞僼傿僊儏儗乕僔儑儞僾
	    儘僌儔儉偱曄峏偡傞偙偲偑偱偒傑偡丅

        PerProg     僉乕
	
	    僾儘僌儔儉枅偺愝掕抣傪奿擺偡傞偨傔偺僉乕偱偡丅偙偺壓偵丄僾儘
            僌儔儉偺幚峴儌僕儏乕儖柤傪僉乕偲偟偰僾儘僌儔儉屄暿偺愝掕偑婰
            榐偝傟傑偡丅愝掕偝傟傞忣曬偼埲壓偺擇偮偱偡丅
	    
	    PerProg\<progname>\Where        REG_DWORD 曄姺埵抲
	    PerProg\<progname>\Encoding     REG_SZ    僄儞僐乕僨傿儞僌柤

            僄儞僐乕僨傿儞僌柤偼捠忢僐儞僼傿僊儏儗乕僔儑儞僾儘僌儔儉偵傛偭
	    偰愝掕偝傟傑偡丅曄姺埵抲偼丄昗弨僀儞僗僩乕儖偱偼晄梫偱偡丅僔
            僗僥儉僨傿儗僋僩儕傊偺僀儞僗僩乕儖傪峴側偭偨応崌偵偼丄儗僕僗
            僩儕僄僨傿僞偱娐嫬偵崌傢偣偰愝掕偡傞昁梫偑偁傝傑偡丅

    傾僀僐儞偺嶌惉
    
        僐儞僼傿僊儏儗乕僔儑儞僾儘僌儔儉偺傾僀僐儞傪嶌惉偟丄僗僞乕僩儊僯儏乕
        偵搊榐偟傑偡丅偙傟偵傛偭偰僐儞僼傿僊儏儗乕僔儑儞僾儘僌儔儉傪婲摦
        偡傞偙偲偑偱偒傑偡丅

    傾儞僀儞僗僩乕儖偡傞偵偼丄僐儞僩儘乕儖僷僱儖偺乽傾僾儕働乕僔儑儞偺捛
    壛偲嶍彍乿偱丄乽idn wrapper乿 傪慖戰偟偰嶍彍乮乽捛壛偲嶍彍乿儃僞儞乯
    偟傑偡丅

3.2.僐儞僼傿僊儏儗乕僔儑儞僾儘僌儔儉

    僐儞僼傿僊儏儗乕僔儑儞僾儘僌儔儉偼丄傾僾儕働乕僔儑儞傪摿掕偟偰儔僢僾
    偟偨傝丄傾僾儕働乕僔儑儞偺儔僢僾傪夝彍偡傞偨傔偺僣乕儖偱偡丅

    婲摦偡傞偲埲壓偺傛偆側夋柺偑昞帵偝傟傑偡丅

    劇劅劍劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劍劅劍劅劍劅劉
    劆丂劆idn wrapper - Configuration                       劆丵劆仩劆亊劆
    劌劅劏劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劏劅劏劅劏劅劎
    劆          idn wrapper Configuration Program version X.X           劆
    劌劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劎
    劆                  Wrapped Program                   劇劅劅劅劅劅劉劆
    劆劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劍劅劉劆  Wrap..  劆劆
    劆劆                                            劆伻劆劋劅劅劅劅劅劊劆
    劆劆                                            劌劅劎劇劅劅劅劅劅劉劆
    劆劆                                            劆  劆劆 Unwrap.. 劆劆
    劆劆                                            劆  劆劋劅劅劅劅劅劊劆
    劆劆                                            劆  劆劇劅劅劅劅劅劉劆
    劆劆                                            劆  劆劆UnwrapAll.劆劆
    劆劆                                            劆  劆劋劅劅劅劅劅劊劆
    劆劆                                            劆  劆劇劅劅劅劅劅劉劆
    劆劆                                            劆  劆劆RewrapAll.劆劆
    劆劆                                            劆  劆劋劅劅劅劅劅劊劆
    劆劆                                            劆  劆劇劅劅劅劅劅劉劆
    劆劆                                            劆  劆劆  Log..   劆劆
    劆劆                                            劆  劆劋劅劅劅劅劅劊劆
    劆劆                                            劆  劆劇劅劅劅劅劅劉劆
    劆劆                                            劌劅劎劆Advanced..劆劆
    劆劆                                            劆伾劆劋劅劅劅劅劅劊劆
    劆劌劅劍劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劍劅劑劅劊劇劅劅劅劅劅劉劆
    劆劆乹劆                                    劆乺劆    劆   Exit   劆劆
    劆劋劅劏劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劏劅劊    劋劅劅劅劅劅劊劆
    劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

    儕僗僩儃僢僋僗偵偼丄偦偺帪揰偱儔僢僾偝傟偰偄傞僾儘僌儔儉偑昞帵偝傟傑
    偡丅嵟弶偵幚峴偟偨応崌偵偼嬻偵側偭偰偄傑偡丅

    僾儘僌儔儉傪儔僢僾偡傞偵偼丄"wrap"儃僞儞傪墴偟傑偡丅"wrap"儃僞儞傪墴
    偡偲埲壓偺傛偆側僟僀傾儘僌偑昞帵偝傟傑偡丅

    劇劅劍劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劍劅劍劅劍劅劉
    劆丂劆idn wrapper - Wrap Executable                   劆丵劆仩劆亊劆
    劌劅劏劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劏劅劏劅劏劅劎
    劆          劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉劇劅劅劅劅劉劆
    劆 Program: 劆                                      劆劆Browse..劆劆
    劆          劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊劋劅劅劅劅劊劆
    劆          劇劅劅劅劉                                            劆
    劆Encoding: 劆      劆  仜Default  仜UTF-8                        劆
    劆          劋劅劅劅劊                                            劆
    劆           仩 Force local DLL reference                         劆
    劌劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劎
    劆                                        劇劅劅劅劅劉劇劅劅劅劅劉劆
    劆                                        劆  wrap  劆劆 cancel 劆劆
    劆                                        劋劅劅劅劅劊劋劅劅劅劅劊劆
    劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

    嵟弶偵丄儔僢僾偡傞僾儘僌儔儉偺幚峴僼傽僀儖柤傪愝掕偟傑偡丅捈愙擖椡
    偡傞偐丄僽儔僂僘儃僞儞偱僼傽僀儖傪扵偟偰偔偩偝偄丅師偵偦偺僾儘僌儔
    儉偺儘乕僇儖僄儞僐乕僨傿儞僌傪巜掕偟傑偡丅捠忢偼乽Default乿 偱偐傑
    偄傑偣傫丅僾儘僌儔儉偑崙嵺壔僄儞僐乕僨傿儞僌偵廬偭偰偄傞応崌偵偺傒
    乽UTF-8乿 傪巜帵偟傑偡丅

    乽Force local DLL reference乿儃僞儞偵傛傝丄儔僢僾偡傞僾儘僌儔儉偺
    DLL 偺扵嶕弴彉傪曄峏偡傞偙偲偑偱偒傑偡 (偨偩偟 Windows95 偵偼偙偺
    婡擻偑側偄偨傔丄偙偺儃僞儞傕昞帵偝傟傑偣傫)丅偙偺儃僞儞傪僠僃僢僋
    偡傞偲丄偨偲偊僾儘僌儔儉偑暿偺応強偺 DLL 傪巜掕偟偰偄偰傕丄忢偵幚
    峴僼傽僀儖偑偁傞僨傿儗僋僩儕偺 DLL 偑桪愭偝傟傞傛偆偵側傝傑偡丅傕
    偟僾儘僌儔儉偑偆傑偔儔僢僾偱偒側偄応崌偵偼丄偙偺儃僞儞傪僠僃僢僋偡
    傞偲偆傑偔偄偔偐傕偟傟傑偣傫丅偨偩偟摨帪偵懠偺栤戣偑敪惗偡傞壜擻惈
    傕偁傝傑偡丅

    嵟屻偵乽wrap乿儃僞儞傪墴偣偽丄僾儘僌儔儉偑丄巜掕偝傟偨僄儞僐乕僨傿
    儞僌偱儔僢僾偝傟傑偡丅儔僢僾偝傟偨僾儘僌儔儉偼丄嵟弶偺僂傿儞僪僂偺
    儕僗僩儃僢僋僗偵斀塮偝傟傑偡丅

    idn wrapper 傪僶乕僕儑儞傾僢僾偟偨応崌偵偼丄儔僢僾梡偺 DLL 傪傾僢僾
    僨乕僩偡傞偨傔偵丄僾儘僌儔儉傪嵞儔僢僾偡傞昁梫偑偁傝傑偡丅偙偺偨傔偵丄
    尰嵼儔僢僾偝傟偰偄傞僾儘僌儔儉偵懳偟偰嵞搙儔僢僾傪峴偆偨傔偺乽rewrap
    all乿儃僞儞偑梡堄偝傟偰偄傑偡丅

    僾儘僌儔儉偵懳偡傞儔僢僾傪夝彍偡傞偵偼丄儕僗僩儃僢僋僗偱夝彍偡傞僾儘
    僌儔儉傪慖戰偟偰丄乽unwrap乿儃僞儞傪墴偟傑偡丅埲壓偺妋擣梡偺僟僀傾儘
    僌偑昞帵偝傟傑偡偺偱丄娫堘偄偑側偗傟偽乽unwrap乿儃僞儞傪墴偟偰偔偩偝
    偄丅

    劇劅劍劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劍劅劍劅劍劅劉
    劆丂劆idn wrapper - Unwrap Executable                 劆丵劆仩劆亊劆
    劌劅劏劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劏劅劏劅劏劅劎
    劆          劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉劆
    劆Program:  劆                                                  劆劆
    劆          劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊劆
    劌劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劎
    劆                                        劇劅劅劅劅劉劇劅劅劅劅劉劆
    劆                                        劆 Unwrap 劆劆 Cancel 劆劆
    劆                                        劋劅劅劅劅劊劋劅劅劅劅劊劆
    劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

    儔僢僾偑夝彍偝傟傞偲丄偦偺僾儘僌儔儉偼嵟弶偺僂傿儞僪僂偺儕僗僩儃僢僋
    僗偐傜傕嶍彍偝傟傑偡丅

    僾儘僌儔儉偵懳偟偰尰嵼愝掕偝傟偰偄傞儔僢僾傪偡傋偰夝彍偡傞偨傔偺
    乽unwrap all乿儃僞儞傕梡堄偝傟偰偄傑偡丅

    儘僌偺愝掕傪峴偆偵偼丄"log" 儃僞儞傪墴偟傑偡丅師偺傛偆側僟僀傾儘僌偑
    昞帵偝傟傑偡丅

    劇劅劍劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劍劅劍劅劍劅劉
    劆丂劆idn wrapper - Log Configuration                 劆丵劆仩劆亊劆
    劌劅劏劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劏劅劏劅劏劅劎
    劆    Log Level: 仜None 仜Fatal 仜Error 仜Warning 仜Info 仜Trace  劆
    劆              劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉劇劅劅劅劅劉劆
    劆     Log File:劆                                  劆劆Browse..劆劆
    劆              劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊劋劅劅劅劅劊劆
    劆              劇劅劅劅劉 劇劅劅劅劉                             劆
    劆Log Operation:劆 View 劆 劆Delete劆                             劆
    劆              劋劅劅劅劊 劋劅劅劅劊                             劆
    劌劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劎
    劆                                        劇劅劅劅劅劉劇劅劅劅劅劉劆
    劆                                        劆   OK   劆劆 Cancel 劆劆
    劆                                        劋劅劅劅劅劊劋劅劅劅劅劊劆
    劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

    儘僌儗儀儖偼師偺拞偐傜慖戰偡傞偙偲偑偱偒傑偡丅
	None	儘僌傪弌椡偟側偄
	Fatal   抳柦揑僄儔乕偺傒婰榐偡傞
	Error	抳柦揑偱側偄僄儔乕傕婰榐偡傞
	Warning	寈崘儊僢僙乕僕傕婰榐偡傞
	Info	偦偺懠偺忣曬傕婰榐偡傞
	Trace	僩儗乕僗弌椡傕婰榐偡傞
    偙偙偵偁偘偨儘僌儗儀儖偺愝掕偼丄IDN 儔僀僽儔儕 (idnkit.dll) 偑弌椡偡傞
    儘僌偵懳偟偰偺傒桳岠偱偡丅idn wrapper 帺恎偑弌椡偡傞儘僌偼 ON/OFF
    偟偐偱偒傑偣傫丅None 傪巜掕偡傞偲 OFF 偵丄偦傟埲奜偺儗儀儖傪巜掕偡傞偲
    ON 偵側傝傑偡丅

    偙偺僟僀傾儘僌傪梡偄偰丄儘僌僼傽僀儖偺僷僗柤傪巜掕偡傞偙偲傕偱偒傑偡丅

    傑偨丄儘僌僼傽僀儖偺撪梕傪昞帵偝偣偨傝丄儘僌僼傽僀儖傪嶍彍偡傞偙偲傕
    壜擻偱偡丅

    儘僌儗儀儖傗儘僌僼傽僀儖偺愝掕偼丄愝掕帪偵偡偱偵摦嶌偟偰偄傞僾儘僙僗
    偵偼塭嬁傪梌偊側偄偙偲偵婥傪偮偗偰偔偩偝偄丅

    "advanced" 儃僞儞傪墴偡偲乽advanced configuration乿梡偺僟僀傾儘僌
    偑昞帵偝傟傑偡丅偙偺僟僀傾儘僌偼忋媺儐乕僓偺偨傔偺傕偺偱丄揔愗側僨
    僼僅儖僩偑愝掕偝傟偰偄傞偨傔偵捠忢儐乕僓偑曄峏偡傞昁梫偺側偄傛偆側
    婎杮揑側僷儔儊乕僞傪曄峏偡傞偙偲偑偱偒傑偡丅

    劇劅劍劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劍劅劍劅劍劅劉
    劆丂劆idn wrapper - Advanced Configuration            劆丵劆仩劆亊劆
    劌劅劏劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劏劅劏劅劏劅劎
    劆                    IDN Wrapping Mode                           劆
    劆  仜Wrap both WINSOCK 1.1 and WINSOCK 2.0                       劆
    劆  仜Wrap only WINSOCK 1.1                                       劆
    劆  仜Wrap only WINSOCK 2.0                                       劆
    劆  仜Wrap only WINSOCK 2.0 if it exists.                         劆
    劆    Otherwise wrap only WINSOCK 1.1                             劆
    劌劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劎
    劆                    IDN Configuration                           劆
    劆              劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉劇劅劅劅劅劉劆
    劆     Log File:劆                                  劆劆Browse..劆劆
    劆              劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊劋劅劅劅劅劊劆
    劆              劇劅劅劅劉                                        劆
    劆              劆 Edit 劆                                        劆
    劆              劋劅劅劅劊                                        劆
    劌劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劎
    劆                                        劇劅劅劅劅劉劇劅劅劅劅劉劆
    劆                                        劆   OK   劆劆 Cancel 劆劆
    劆                                        劋劅劅劅劅劊劋劅劅劅劅劊劆
    劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊
    
    偙偺僟僀傾儘僌傪巊梡偟偰丄師偺3庬椶偺愝掕傪峴偆偙偲偑偱偒傑偡丅

    Wrapping Mode
	儔僢僾曽朄傪愝掕偟傑偡丅捠忢偼僨僼僅儖僩偱愝掕偝傟偰偄傞崁栚傪
	慖戰偟偰偍偗偽傛偄偼偢偱偡偑丄栤戣偑婲偭偨偲偒偵偼暿偺崁栚偵偡
	傞偲摦偔傛偆偵側傞偐傕偟傟傑偣傫丅

    IDN Configuration
	僐儞僼傿僊儏儗乕僔儑儞僼傽僀儖柤傪巜掕偟傑偡丅傑偨 "Edit" 儃僞
	儞傪墴偡偙偲偵傛傝丄僼傽僀儖偺撪梕傪曇廤偡傞偙偲傕壜擻偱偡丅
    
4. 惂尷帠崁

4.1. DLL 僶乕僕儑儞

    儔僢僷乕DLL 偼丄尦偺WINSOCK 偺DLL 偺僶乕僕儑儞偵嫮偔埶懚偟傑偡丅偙傟
    偼丄旕岞奐偺僄儞僩儕傕娷傔偰偡傋偰偺僄儞僩儕傪採嫙偡傞昁梫偑偁傞偨傔
    偱偡丅偙偺偨傔WINSOCK DLL 偺僶乕僕儑儞偑曄傢傞偲丄idn wrapper 偑摦嶌
    偟側偔側傞壜擻惈偑偁傝傑偡丅
    
    崱夞嶌惉偝傟偨idn wrapper 偼丄
    
        Win2000         (WINSOCK 1.1 + 2.0)
	WinME           (WINSOCK 1.1 + 2.0)

    偱摦嶌傪妋擣偟偰偄傑偡丅偨偩丄彨棃偵傢偨偭偰摦嶌偡傞曐徹偼偁傝傑偣傫丅

4.2. DNS, WINS, LMHOSTS

    Windows 偱偼丄DNS 偩偗偱偼側偔丄WINS傗LMHOSTS 偵傛偭偰傕僪儊僀儞柤丄
    儂僗僩柤偺夝寛偑峴側傢傟傑偡丅idn wrapper 傪巊偭偨応崌偵偼丄僪儊僀儞
    柤偺曄姺偑丄偙傟傜偺曽幃傊偺僨傿僗僷僢僠傪峴側偆応強傛傝傕忋埵憌偱峴
    側傢傟傞偺偱丄偙傟傜偺偡傋偰偺曽幃偵偮偄偰丄僪儊僀儞柤丄儂僗僩柤偺曄
    姺偑峴側傢傟傞偙偲偵側傝傑偡丅偙偺偨傔丄Windows 偑丄WINS傗LMHOSTS 傪
    巊偭偰偄傞応崌偵偼丄梊婜偟側偄栤戣偑敪惗偡傞壜擻惈偑偁傝傑偡丅偙傟偵
    偮偄偰偼丄idn wrapper 傪巊偆応崌偵偼丄柤慜夝寛偵DNS 偩偗傪巊梡偡傞偙
    偲傪偍姪傔偟傑偡丅

3.3. 僪儊僀儞柤埲奜偺柤慜偺夝寛

    WINSOCK 2.0 偺柤慜夝寛API 

        WSALookupServiceBeginA
	WSALookupServiceNextA
	WSALookupServiceEnd

    偼丄僪儊僀儞柤埲奜偱傕巊梡偱偒傞丄斈梡偺柤慜夝寛梡偺API 偲偟偰掕媊偝
    傟偰偄傑偡丅尰帪揰偱偼丄偙傟傜偼傕偭傁傜僪儊僀儞柤偺夝寛偱巊梡偝傟偰
    偄傑偡偑丄懠偺柤慜(椺偊偽僒乕價僗柤)偺夝寛偵傕巊梡偱偒傞偙偲偵側偭偰
    偄傑偡丅

    idn wrapper 偼丄柤慜偺懳徾偺擛壗偵偐偐傢傜偢丄柤慜偺僄儞僐乕僨傿儞僌
    傪曄姺偟偰偟傑偆偺偱丄偙傟傜偺API 偑丄僪儊僀儞柤埲奜偺夝寛偵巊傢傟偰
    偄傞応崌偵偼丄栤戣傪堷偒婲偙偡壜擻惈偑偁傝傑偡丅

4.4. 柤慜夝寛API 傪巊傢側偄僾儘僌儔儉

    傾僾儕働乕僔儑儞偵傛偭偰偼丄僪儊僀儞柤偺夝寛偵偙傟傜偺API 傪巊梡偟側
    偄傕偺傕偁傝傑偡丅椺偊偽丄'nslookup'偼丄偙傟傜偺API 傪巊梡偟側偄偱丄
    捈愙DNS 僒乕僶偲捠怣偟偰偟傑偄傑偡丅偙偺傛偆側傾僾儕働乕僔儑儞偵偮偄
    偰偼丄idn wrapper 偼栶偵棫偪傑偣傫丅

4.5. 摿掕WINSOCK DLL 偵僶僀儞僪偝傟偨傾僾儕働乕僔儑儞

    傾僾儕働乕僔儑儞偵傛偭偰偼丄昗弨偺DLL 僒乕僠僷僗偵廬傢側偄偱丄摿掕偺
    僷僗偺DLL 偵僶僀儞僪偝傟偰偄傞傕偺偑偁傝傑偡丅傛偔巊傢傟傞僾儘僌儔儉
    偺拞偱偼丄Netscape Communicator 偑偦偆側偭偰偄傑偡丅偙偺傛偆側僾儘僌
    儔儉偵偮偄偰偼丄昗弨偺僀儞僗僩乕儖乛僐儞僼傿僊儏儗乕僔儑儞偱偼儔僢僾
    偡傞偙偲偼偱偒傑偣傫丅
    
    偙偺傛偆側僾儘僌儔儉偵偮偄偰丄偳偆偟偰傕儔僢僾偡傞昁梫偑偁傞側傜丄僔
    僗僥儉僨傿儗僋僩儕傊偺僀儞僗僩乕儖傪峴側偆偙偲偑偱偒傑偡丅偨偩偟丄偙
    偺僀儞僗僩乕儖偼戝曄婋尟偱丄応崌偵傛偭偰偼僔僗僥儉傪嵞婲摦晄擻偵偟偰
    偟傑偆壜擻惈傕偁傝傑偡丅

5. 儗僕僗僩儕愝掕 - 傑偲傔

5.1. 儗僕僗僩儕偺桪愭弴埵

    idn wrapper 偺愝掕忣曬偼丄HKEY_LOCAL_MACHINE丄HKEY_CURRENT_USER偺

        Software\JPNIC\IDN

    埲壓偵奿擺偝傟傑偡丅idn wrapper偼嵟弶偵HKEY_LOCAL_MACHINE偺愝掕傪撉
    傒崬傒丄HKEY_CURRENT_USER懁偵傕愝掕偑偁傟偽丄偙傟偱忋彂偒偟傑偡丅捠
    忢偼丄HKEY_LOCAL_MACHINE 懁偩偗傪愝掕偟傑偡丅儐乕僓屄暿偵堎側偭偨愝
    掕傪巊偄偨偄応崌偺傒丄HKEY_CURRENT_USER傪愝掕偡傞傛偆偵偟偰偔偩偝偄丅

    側偍丄僐儞僼傿僊儏儗乕僔儑儞僾儘僌儔儉偼 HKEY_LOCAL_MACHINE 偺愝掕
    偩偗傪撉傒彂偒偡傞傛偆偵側偭偰偄傑偡丅
    
4.2. 儗僕僗僩儕僉乕

    慡懱偺嫟捠偺愝掕偲丄僾儘僌儔儉屄暿愝掕偲偑偁傝傑偡丅

丵嫟捠掕媊

	Software\JPNIC\IDN\InstallDir	 僀儞僗僩乕儖僨傿儗僋僩儕
        Software\JPNIC\IDN\Where         曄姺埵抲
	                    0:WINSOCK1.1 WINSOCK2.0偺椉曽偱
                            1:WINSOCK2.0 偑偁傟偽偦偪傜偱
			    2:WINSOCK1.1 偩偗偱
			    3:WINSOCK2.0 偩偗偱
	Software\JPNIC\IDN\ConfFile	 idnkit 偺愝掕僼傽僀儖
        Software\JPNIC\IDN\LogLevel      儘僌儗儀儖
        Software\JPNIC\IDN\LogFile       儘僌僼傽僀儖

丵僾儘僌儔儉屄暿愝掕

    曄姺埵抲丄偍傛傃僾儘僌儔儉懁偺僄儞僐乕僨傿儞僌偼僾儘僌儔儉枅偵摿掕偡
    傞偙偲傕偱偒傑偡丅偙傟傜偼丄埲壓偺僉乕僴僀僽偺壓偵丄僾儘僌儔儉柤傪僉乕
    偲偡傞抣偱愝掕偟傑偡丅

        Software\JPNIC\IDN\PerProg\<name>\Where
        Software\JPNIC\IDN\PerProg\<name>\Encoding

    巜掕偝傟偰偄側偄応崌偵偼丄
    
        Where       0       1.1丄2.0 偺椉曽偱曄姺
	Encoding            僾儘僙僗偺僐乕僪儁乕僕

    偲傒側偟傑偡丅

