KR20060092545A - Apparatus and method for converting character code - Google Patents
Apparatus and method for converting character code Download PDFInfo
- Publication number
- KR20060092545A KR20060092545A KR1020050013522A KR20050013522A KR20060092545A KR 20060092545 A KR20060092545 A KR 20060092545A KR 1020050013522 A KR1020050013522 A KR 1020050013522A KR 20050013522 A KR20050013522 A KR 20050013522A KR 20060092545 A KR20060092545 A KR 20060092545A
- Authority
- KR
- South Korea
- Prior art keywords
- code
- character code
- character
- type
- unit
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/126—Character encoding
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Document Processing Apparatus (AREA)
Abstract
본 발명은 문자 코드 변환 장치 및 방법에 관한 것으로서, 하나 또는 복수의 동적 라이브러리가 지원하는 다양한 문자 코드의 종류를 확인하고, 이에 대해 정의된 소정의 코드 매핑 테이블을 참조하여 응용 프로그램이 지원하는 유니코드로 변환하는 문자 코드 변환 장치 및 방법에 관한 것이다.The present invention relates to an apparatus and a method for converting a character code. The present invention relates to a Unicode code supported by an application by identifying various types of character codes supported by one or a plurality of dynamic libraries and referring to a predetermined code mapping table defined therein. The present invention relates to a character code conversion apparatus and a method for converting a character code into a character code conversion apparatus.
본 발명의 실시예에 따른 문자 코드 변환 장치는 소정의 동적 라이브러리로부터 문자 코드를 수신하는 수신부와, 저장된 소정의 코드 매칭 정보를 참조하여 상기 수신된 문자 코드의 종류를 확인하는 코드 확인부와, 상기 확인된 문자 코드의 종류에 따른 코드 변환 프로그램을 추출하는 추출부 및 상기 추출된 코드 변환 프로그램을 이용하여 상기 수신된 문자 코드를 변환하는 코드 변환부를 포함한다.A character code conversion apparatus according to an embodiment of the present invention includes a receiving unit for receiving a character code from a predetermined dynamic library, a code checking unit for checking the type of the received character code with reference to the stored predetermined code matching information, and And an extracting unit for extracting a code conversion program according to the type of the identified character code, and a code conversion unit for converting the received character code using the extracted code conversion program.
ANSI 코드, 유니코드, 코드 매칭 정보 ANSI code, Unicode, code matching information
Description
도 1은 종래의 응용 프로그램 및 동적 라이브러리의 문자 코드가 모두 유니코드로 작성된 것을 나타낸 도면이다.1 is a view showing that all character codes of a conventional application and a dynamic library are written in Unicode.
도 2는 종래의 응용 프로그램 및 동적 라이브러리의 문자 코드 체계가 다른 것을 나타낸 도면이다.2 is a view showing that the character code system of the conventional application program and the dynamic library is different.
도 3은 본 발명의 실시예에 따른 문자 코드 변환 장치를 나타낸 블록도이다.3 is a block diagram illustrating a character code conversion apparatus according to an embodiment of the present invention.
도 4는 본 발명의 실시예에 따른 문자 코드 변환 과정을 나타낸 흐름도이다.4 is a flowchart illustrating a character code conversion process according to an embodiment of the present invention.
<도면의 주요 부분에 관한 부호의 설명><Explanation of symbols on main parts of the drawings>
310 : 호출부 320 : 저장부310: caller 320: storage
330 : 수신부 340 : 코드 확인부330: receiver 340: code checker
350 : 추출부 360 : 코드 변환부350: extraction unit 360: code conversion unit
370 : 출력부370: output unit
본 발명은 문자 코드 변환 장치 및 방법에 관한 것으로서, 더욱 상세하게는 하나 또는 복수의 동적 라이브러리가 지원하는 다양한 문자 코드의 종류를 확인하고, 이에 대해 정의된 소정의 코드 매핑 테이블을 참조하여 응용 프로그램이 지원하는 유니코드로 변환하는 문자 코드 변환 장치 및 방법에 관한 것이다.The present invention relates to an apparatus and method for character code conversion, and more particularly, to identify various types of character codes supported by one or a plurality of dynamic libraries, and by referring to a predetermined code mapping table defined therein, The present invention relates to a character code conversion device and method for converting to Unicode.
국제 시장을 대상으로 응용 프로그램을 개발할 때에는 해당 국가의 문자 집합을 적절하게 표현하는 것이 중요하다. 아스키(ASCII)문자 집합은 0x00~0x7F 범위에서 문자를 정의한다. 주로 유럽의 문자 집합에서는 아스키 문자 집합과 동일하게 0x00~0x7F 범위에서 문자를 정의할 뿐만 아니라 0x80~0xFF 범위의 확장 문자를 정의한다. 따라서, 아스키 문자 집합은 물론 많은 유럽 언어의 문자 집합을 표현하는 데에는 8비트의 싱글 바이트 문자 집합(SBCS)만으로도 충분하다. 그러나, 한국어와 같은 일부 비 유럽 문자 집합에는 싱글 바이트 코드 구성표로 표현할 수 있는 것보다 많은 문자가 있기 때문에 멀티 바이트 문자 집합(MBCS) 인코딩이 필요하다.When developing an application for the international market, it is important to properly represent the character set of the country. The ASCII character set defines characters in the range 0x00 to 0x7F. The European character set mainly defines characters in the range 0x00 to 0x7F as well as ASCII character sets, as well as extended characters in the range 0x80 to 0xFF. Thus, an 8-bit single byte character set (SBCS) is sufficient to represent the ASCII character set as well as many European language character sets. However, some non-European character sets, such as Korean, require multibyte character set (MBCS) encoding because there are more characters than can be represented by a single byte code scheme.
유니코드는 텍스트나 스크립트 문자에 대한 이진 코드(binary code)를 확립하기 위한 새로운 코드로서 세계 각국의 다양한 언어로 작성된 텍스트에 대해 상호 교환, 처리 및 표현을 용이하게 하기 위한 시스템이다.Unicode is a new code for establishing binary code for text or script characters and is a system for facilitating interchange, processing and presentation of text written in various languages around the world.
즉, 유니코드(Unicode)는 싱글 바이트로 표현할 수 없는 문자 집합을 포함하여 모든 문자 집합을 지원하기 위한 사양으로서, 국제 시장을 대상으로 프로그래밍할 경우 유니코드 또는 멀티 바이트 문자 집합 중 하나를 사용하거나 스위치를 변경하여 둘 중 하나로 컴파일 할 수 있도록 프로그램을 작성하여야 한다.In other words, Unicode is a specification for supporting all character sets, including character sets that cannot be represented as single bytes. When programming for international markets, either Unicode or multi-byte character sets are used, or switches are used. You must write a program to compile and change to.
도 1은 종래의 응용 프로그램 및 동적 라이브러리의 문자 코드가 모두 유니코드로 작성된 것을 나타낸 도면이다.1 is a view showing that all character codes of a conventional application and a dynamic library are written in Unicode.
여기서, 응용 프로그램(11)은 사용자 또는 다른 응용 프로그램에게 특정한 기능을 수행하도록 설계된 프로그램으로서 워드 프로세서, 데이터베이스 프로그램, 웹 브라우저 및 통신 프로그램 등이 포함된다.Here, the
동적 라이브러리(12a, 12b, 12c)는 작은 프로그램들의 집합으로서, 응용 프로그램에서 필요로 할 때 그 중 어떤 것이라도 호출될 수 있다. 예를 들어, 응용 프로그램(11)이 램(RAM)에 적재되어 실행 중에도 동적 라이브러리(12a, 12b, 12c)는 램에 적재되어 있지 않다가, 응용 프로그램(11)의 호출에 의하여 램에 적재되어 응용 프로그램(11)과 동적으로 연결되는 것이다.The
마이크로 소프트 윈도우 운영 체제(Microsoft Windows Operating System)에서 동적 라이브러리(12a, 12b, 12c)는 일반적으로 동적 연결 라이브러리(Dynamic Link Library) 파일로 존재하게 되는데, 개발자는 응용 프로그램(11)의 용도에 따라 데이터(12a), 하위 함수(12b) 및 외부 API(12c)(Application Program Interface) 등의 동적 라이브러리 파일을 작성하게 된다.In the Microsoft Windows Operating System, the
도 1과 같이 응용 프로그램(11) 및 동적 라이브러리의(12a, 12b, 12c) 문자 코드 체계가 유니코드로 동일한 경우 응용 프로그램(11)과 동적 라이브러리(12a, 12b, 12c)는 올바른 문자 코드 통신을 수행하며, 이에 대한 별도의 작업은 불필요하다.As shown in FIG. 1, when the character code schemes of the
도 2는 종래의 응용 프로그램 및 동적 라이브러리의 문자 코드 체계가 다른 것을 나타낸 도면이다.2 is a view showing that the character code system of the conventional application program and the dynamic library is different.
상이한 문자 코드 체계로 작성된 동적 라이브러리(22a, 22b, 22c)를 사용하 는 응용 프로그램(21)은 문자 코드 변환기를 구비하여야 하는데, 문자 코드 변환기는 동적 라이브러리(22a, 22b, 22c)의 문자 코드를 응용 프로그램(21)이 지원하는 문자 코드로 변환한다. 이 때, 문자 코드 변환기는 동적 라이브러리(22a, 22b, 22c)로부터 수신한 문자 코드를 단순히 응용 프로그램(21)이 지원하는 문자 코드로 변환하는 역할을 하는데, 복수의 동적 라이브러리(22a, 22b, 22c)가 상이한 문자 코드 체계로 작성된 경우 응용 프로그램(21)은 그에 따른 복수의 문자 코드 변환기를 구비하여야 한다.An
응용 프로그램 또는 동적 라이브러리를 제작하는 경우 응용 프로그램 및 동적 라이브러리의 문자 코드 체계를 도 1과 같이 동일한 문자 코드 체계로 제작하는 것이 가장 바람직하다. 그러나, 기존의 응용 프로그램 또는 동적 라이브러리를 이용하고자 하는 경우 문자 코드 체계가 다를 수도 있는데, 이를 맞추어 주기 위하여 응용 프로그램 또는 동적 라이브러리의 소스 코드(source code)를 수정하여야 한다. 이 때, 소스 코드 없이 컴파일된 파일만 있는 경우에는 도 2와 같이 문자 코드 변환기를 사용하여야 하며, 전술한 바와 같이 복수의 동적 라이브러리가 상이한 문자 코드 체계로 작성된 경우 응용 프로그램은 그에 따른 복수의 문자 코드 변환기를 구비하여야 한다.When producing an application or a dynamic library, it is most preferable to produce the character code system of the application and the dynamic library in the same character code system as shown in FIG. 1. However, if you want to use an existing application program or dynamic library, the character code system may be different, and in order to fit this, the source code of the application program or dynamic library must be modified. In this case, when there are only files compiled without source code, a character code converter should be used as shown in FIG. 2. As described above, when a plurality of dynamic libraries are created with different character code systems, the application program may use a plurality of character codes accordingly. A converter must be provided.
본 발명은 하나 또는 복수의 동적 라이브러리가 지원하는 다양한 문자 코드의 종류를 확인하고, 이에 대해 정의된 소정의 코드 매핑 테이블을 참조하여 응용 프로그램이 지원하는 유니코드로 변환하는데 그 목적이 있다.An object of the present invention is to identify various types of character codes supported by one or a plurality of dynamic libraries, and to convert them into Unicode supported by an application program by referring to a predetermined code mapping table defined therein.
본 발명의 목적은 이상에서 언급한 목적으로 제한되지 않으며, 언급되지 않은 또 다른 목적들은 아래의 기재로부터 당업자에게 명확하게 이해되어질 수 있을 것이다.The object of the present invention is not limited to the above-mentioned object, and other objects not mentioned will be clearly understood by those skilled in the art from the following description.
상기 목적을 달성하기 위하여, 본 발명의 실시예에 따른 문자 코드 변환 장치는 소정의 동적 라이브러리로부터 문자 코드를 수신하는 수신부와, 저장된 소정의 코드 매칭 정보를 참조하여 상기 수신된 문자 코드의 종류를 확인하는 코드 확인부와, 상기 확인된 문자 코드의 종류에 따른 코드 변환 프로그램을 추출하는 추출부 및 상기 추출된 코드 변환 프로그램을 이용하여 상기 수신된 문자 코드를 변환하는 코드 변환부를 포함한다.In order to achieve the above object, the character code conversion apparatus according to an embodiment of the present invention is to determine the type of the received character code with reference to the receiving unit for receiving the character code from a predetermined dynamic library, and the stored predetermined code matching information And a code conversion unit for extracting a code conversion program according to the type of the identified character code, and a code conversion unit for converting the received character code using the extracted code conversion program.
본 발명의 실시예에 따른 문자 코드 변환 방법은 소정의 동적 라이브러리로부터 문자 코드를 수신하는 단계와, 저장된 코드 매칭 정보를 참조하여 상기 수신된 문자 코드의 종류를 확인하는 단계와, 상기 확인된 문자 코드의 종류에 따른 코드 변환 프로그램을 추출하는 단계 및 상기 추출된 코드 변환 프로그램을 이용하여 상기 수신된 문자 코드를 변환하는 단계를 포함한다.Character code conversion method according to an embodiment of the present invention comprises the steps of receiving a character code from a predetermined dynamic library, confirming the type of the received character code with reference to the stored code matching information, and the confirmed character code Extracting a code conversion program according to the type and converting the received character code using the extracted code conversion program.
기타 실시예들의 구체적인 사항들은 상세한 설명 및 도면들에 포함되어 있다.Specific details of other embodiments are included in the detailed description and the drawings.
본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시예들을 참조하면 명확해질 것이다. 그러나 본 발명은 이하에서 개시되는 실시예들에 한정되는 것이 아니라 서로 다른 다양한 형태 로 구현될 수 있으며, 단지 본 실시예들은 본 발명의 개시가 완전하도록 하고, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다. 명세서 전체에 걸쳐 동일 참조 부호는 동일 구성 요소를 지칭한다.Advantages and features of the present invention and methods for achieving them will be apparent with reference to the embodiments described below in detail with the accompanying drawings. However, the present invention is not limited to the embodiments disclosed below, but can be implemented in various different forms, only the embodiments are to make the disclosure of the present invention complete, the general knowledge in the art to which the present invention belongs It is provided to fully inform the person having the scope of the invention, which is defined only by the scope of the claims. Like reference numerals refer to like elements throughout.
이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예를 상세히 설명하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
도 3은 본 발명의 실시예에 따른 문자 코드 변환 장치를 나타낸 블록도이다.3 is a block diagram illustrating a character code conversion apparatus according to an embodiment of the present invention.
문자 코드 변환 장치는 호출부(310), 저장부(320), 수신부(330), 코드 확인부(340), 추출부(350), 코드 변환부(360) 및 출력부(370)를 포함하여 구성된다.The character code conversion apparatus includes a
저장부(320)는 동적 라이브러리의 파일 이름에 따라 문자 코드의 종류가 매칭되어 저장된 테이블인 코드 매칭 정보를 저장하는 역할을 한다.The
여기서, 동적 라이브러리는 문자 코드 변환 장치의 응용 프로그램에 의해 호출되어 고유의 기능을 수행하는 하나 또는 복수의 함수를 포함하는 파일로서 데이터, 하위 함수 및 외부 API(Application Program Interface) 등이 이에 해당한다.Here, the dynamic library is a file including one or a plurality of functions that are called by an application program of the character code conversion apparatus to perform a unique function. The data includes a data, a sub function, and an external application program interface (API).
또한, 동적 라이브러리는 마이크로소프트의 윈도우 운영 체제의 경우 동적 연결 라이브러리(Dynamic Link Library)인 것이 바람직한데, 본 발명에서 동적 라이브러리는 문자 코드 변환 장치의 응용 프로그램의 종류에 따라 문서 파일, 멀티미디어 파일, 시스템 파일 및 사용자 정의 파일 등 응용 프로그램에 의해 호출되는 모든 파일이 해당될 수도 있다.In addition, the dynamic library is preferably a dynamic link library (Microsoft Dynamic Link Library) for the Microsoft Windows operating system, in the present invention, the dynamic library is a document file, multimedia file, system according to the type of application of the character code conversion device This could be any file called by an application, such as a file or a user-defined file.
코드 매칭 정보는 동적 라이브러리의 파일 이름에 따라 문자 코드의 종류가 매칭되어 저장된 테이블로서 사용자 또는 개발자는 코드 변환 단계 이전에 코드 매칭 정보를 작성하여 저장부(320)에 저장하는 것이 바람직하다.The code matching information is a table in which character code types are matched and stored according to the file name of the dynamic library. The user or developer may prepare the code matching information and store the code matching information in the
호출부(310)는 동적 라이브러리 파일에 포함된 함수를 호출하는 역할을 한다. 이 때, 호출부(310)는 호출된 함수에 해당하는 동적 라이브러리 파일의 이름을 코드 확인부(340)로 전달하는데, 호출된 함수에 포함된 문자 코드는 수신부(330)를 통하여 수신된다.The
전술한 바와 같이, 동적 라이브러리는 문자 코드 변환 장치의 응용 프로그램에 의해 호출되어 고유의 기능을 수행하는 하나 또는 복수의 함수를 포함하는 파일인데, 응용 프로그램에 의해 호출된 동적 라이브러리의 함수는 자신의 기능을 수행하면서 문자 코드를 응용 프로그램에 송신하게 된다. 수신부(330)는 수신된 문자 코드를 코드 확인부(340)로 전달한다.As mentioned above, a dynamic library is a file that contains one or more functions that are called by an application of the character code conversion device to perform unique functions, and the functions of the dynamic library called by the application are functions of their own. Sending a character code to an application program while The
코드 확인부(340)는 저장부(320)에 저장된 코드 매칭 정보를 참조하여 수신부(330)가 수신한 문자 코드의 종류를 확인하는 역할을 한다. 코드 확인부(340)는 호출부(310)로부터 전달 받은 동적 라이브러리 파일의 이름에 해당하는 문자 코드의 종류를 저장부(320)에 저장된 코드 매칭 정보를 참조하여 확인하는 것이다. 그리하여, 확인된 문자 코드가 응용 프로그램에서 지원하는 문자 코드와 동일한지를 확인하는데, 동일한 경우 전달 받은 문자 코드를 직접 출력부(370)로 전달하고, 동일하지 않으면 전달 받은 문자 코드와 함께 확인된 문자 코드의 종류를 추출부(350)로 전달한다. 이 때, 동적 라이브러리 파일의 이름에 해당하는 문자 코드의 종류가 없는 경우 이에 대한 메시지가 추출부(350)로 전달될 수도 있으며, 사전에 설정된 기본 문자 코드의 종류가 추출부(350)로 전달될 수도 있다.The
추출부(350)는 코드 확인부(340)에 의해 확인된 문자 코드의 종류에 따른 코드 변환 프로그램을 추출하는 역할을 한다.The
추출부(350)는 우선 전달 받은 문자 코드의 종류에 따른 코드 변환 프로그램이 있는지를 확인한다. 그리하여, 해당 코드 변환 프로그램이 있으면 추출하고, 그렇지 않으면 기본 코드 변환 프로그램을 추출한다.The
따라서, 각 동적 라이브러리의 문자 코드에 대한 코드 변환 프로그램이 사전에 구비되어 있는 것이 바람직한데, 코드 변환 프로그램은 응용 프로그램 내부에서 구현될 수도 있고, 별도의 저장 수단에 저장될 수도 있다.Therefore, it is preferable that a code conversion program for a character code of each dynamic library is provided in advance. The code conversion program may be implemented in an application program or may be stored in a separate storage means.
추출부(350)에 의해 추출된 코드 변환 프로그램은 코드 변환부(360)로 전달되고, 코드 변환부(360)는 전달 받은 코드 변환 프로그램을 이용하여 전달 받은 문자 코드를 변환한다.The code conversion program extracted by the
출력부(370)는 코드 변환부(360)에서 변환된 문자 코드 또는 코드 확인부(340)에서 직접 전달된 문자 코드를 응용 프로그램에 전달하는 역할을 한다.The
예를 들어, ANSI(American National Standards Institute) 코드를 지원하는 동적 라이브러리 파일을 호출하는 응용 프로그램이 유니코드를 지원하는 경우, 본 발명의 문자 코드 변환 장치는 동적 라이브러리 파일의 문자 코드의 종류가 ANSI 코드인 것을 확인하고, 이를 유니코드로 변환할 수 있는 문자 코드 변환기를 추출한 후에 이를 이용하여 유니코드로 변환하는 것이다.For example, if an application that calls a dynamic library file that supports American National Standards Institute (ANSI) code supports Unicode, the character code conversion apparatus of the present invention may have the ANSI code type of the character code of the dynamic library file. After that, we extract a character code converter that can convert it to Unicode and then convert it to Unicode.
여기서, ANSI 코드를 유니코드로 변환하는 인코딩 방식으로는 UTF-8, UTF-16 또는 UTF-32 등이 사용될 수 있다.Here, UTF-8, UTF-16, or UTF-32 may be used as an encoding method for converting an ANSI code into Unicode.
도 4는 본 발명의 실시예에 따른 문자 코드 변환 과정을 나타낸 흐름도이다.4 is a flowchart illustrating a character code conversion process according to an embodiment of the present invention.
문자 코드 변환 장치에 의하여 문자 코드를 변환하기 위해서 저장부(320)에는 응용 프로그램에 의해 호출되어 사용되는 동적 라이브러리 파일이 지원하는 문자 코드의 종류인 코드 매칭 정보가 저장되어 있는 것이 바람직하다.In order to convert the character code by the character code conversion apparatus, the
또한, 저장부(320)에 저장된 문자 코드의 종류를 응용 프로그램이 지원하는 문자 코드로 변환하는 각각의 코드 변환 프로그램이 사전에 구비되어 있는 것이 바람직하다.In addition, it is preferable that each code conversion program for converting the type of the character code stored in the
호출부(310)가 동적 라이브러리 파일에 포함된 특정 함수를 호출하면 특정 함수는 자신의 고유 기능을 수행하는데 이 때, 문자 코드를 응용 프로그램으로 전달할 수도 있다.When the calling
이에 따라, 호출부(310)는 특정 함수를 포함하는 동적 라이브러리 파일의 이름을 코드 확인부(340)로 전달하고, 수신부(330)는 동적 라이브러리 파일의 함수로부터 전달된 문자 코드를 수신한다. 수신된 문자 코드는 코드 확인부(340)로 전달된다.Accordingly, the
코드 확인부(340)는 호출부(310)로부터 전달 받은 동적 라이브러리 파일의 이름을 이용하여 저장부(320)에 저장된 코드 매칭 정보를 검색하고, 파일에 매칭되는 문자 코드의 종류를 확인한다. 그리하여, 코드 확인부(340)는 수신부(330)로부터 전달 받은 문자 코드가 응용 프로그램에서 사용되는 문자 코드인지를 확인하는데, 응용 프로그램에서 사용되는 문자 코드와 동일한 문자 코드이면 수신부(330)로 부터 전달 받은 문자 코드를 곧바로 출력부(370)를 통하여 응용 프로그램에 전달되도록 한다.The
그리고, 코드 확인부(340)는 수신부(330)로부터 전달 받은 문자 코드와 응용 프로그램에서 사용되는 문자 코드가 동일하지 않으면 확인된 문자 코드의 종류를 추출부(350)로 전달한다.If the character code received from the
확인된 문자 코드의 종류는 추출부(350)로 전달되고, 추출부(350)는 우선 전달 받은 문자 코드의 종류에 따른 코드 변환 프로그램이 있는지를 확인한다. 그리하여, 해당 코드 변환 프로그램이 있으면 추출하고, 그렇지 않으면 기본 코드 변환 프로그램을 추출한다. 코드 변환 프로그램은 저장부(320)에 저장된 각 문자 코드의 종류에 대하여 응용 프로그램이 지원하는 문자 코드로 변환하는 프로그램으로서, 하나 또는 복수의 코드 변환 프로그램은 응용 프로그램 내부에서 구현될 수도 있으며, 별도의 저장 수단에 저장되어 있을 수도 있다.The type of the confirmed character code is transmitted to the
추출부(350)에 의해 추출된 코드 변환 프로그램은 코드 변환부(360)로 전달되는데, 코드 변환부(360)는 추출부(350)로부터 전달 받은 코드 변환 프로그램을 이용하여 수신부(330)로부터 전달 받은 문자 코드를 변환한다.The code conversion program extracted by the
그리고, 코드 변환부(360)에서 변환된 문자 코드 또는 코드 확인부(340)에서 직접 전달된 문자 코드는 출력부(370)를 통하여 응용 프로그램으로 전달된다.In addition, the character code converted by the
이상 첨부된 도면을 참조하여 본 발명의 실시예를 설명하였지만, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자는 본 발명이 그 기술적 사상이나 필수적인 특징을 변경하지 않고서 다른 구체적인 형태로 실시될 수 있다는 것을 이해할 수 있을 것이다. 그러므로 이상에서 기술한 실시예들은 모든 면에서 예시적인 것이며 한정적이 아닌 것으로 이해해야만 한다.Although embodiments of the present invention have been described above with reference to the accompanying drawings, those skilled in the art to which the present invention pertains may implement the present invention in other specific forms without changing the technical spirit or essential features thereof. I can understand that. Therefore, it should be understood that the embodiments described above are exemplary in all respects and not restrictive.
상기한 바와 같은 본 발명의 문자 코드 변환 장치 및 방법에 따르면 다음과 같은 효과가 하나 혹은 그 이상 있다. According to the character code conversion apparatus and method of the present invention as described above has one or more of the following effects.
첫째, 본 발명은 하나 또는 복수의 동적 라이브러리가 지원하는 다양한 문자 코드의 종류를 확인하고, 이에 대해 정의된 소정의 코드 매핑 테이블을 참조하여 응용 프로그램이 지원하는 유니코드로 변환함으로써 다양한 문자 코드를 지원하는 동적 라이브러리와 유니코드를 지원하는 응용 프로그램 간의 연동 운용에 있어서 각 프로그램에 대한 운영 체제 독립적인 제작을 할 수 있게 하는 장점이 있다.First, the present invention supports various character codes by checking the types of various character codes supported by one or a plurality of dynamic libraries and converting them to Unicode supported by an application by referring to a predetermined code mapping table defined therein. In the interlocking operation between the dynamic library and the application supporting Unicode, there is an advantage of making the operating system independent for each program.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020050013522A KR100703743B1 (en) | 2005-02-18 | 2005-02-18 | Apparatus and method for converting character code |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020050013522A KR100703743B1 (en) | 2005-02-18 | 2005-02-18 | Apparatus and method for converting character code |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20060092545A true KR20060092545A (en) | 2006-08-23 |
KR100703743B1 KR100703743B1 (en) | 2007-04-05 |
Family
ID=37593926
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020050013522A KR100703743B1 (en) | 2005-02-18 | 2005-02-18 | Apparatus and method for converting character code |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100703743B1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100944493B1 (en) * | 2008-05-26 | 2010-03-03 | (주)정글시스템 | Hanja Multi Code System and Searching Method Therefore and Record Medium for Recording Hanja Multi Code System |
KR101693627B1 (en) * | 2015-10-08 | 2017-01-17 | 숭실대학교산학협력단 | Apparatus and method for converting character encoding |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0728719A (en) * | 1993-06-24 | 1995-01-31 | Hitachi Ltd | Code conversion system |
JP3004963B2 (en) | 1998-06-09 | 2000-01-31 | 三菱電機株式会社 | Information terminal device and screen data processing method |
KR20010072477A (en) * | 1998-08-13 | 2001-07-31 | 썬 마이크로시스템즈, 인코포레이티드 | Method and apparatus of translating and executing native code in a virtual machine environment |
KR20030071401A (en) * | 2002-02-28 | 2003-09-03 | 주식회사 현대시스콤 | Apparatus and Method for changing ETSI Intrinsic order |
KR20050078397A (en) * | 2004-01-29 | 2005-08-05 | 삼성전자주식회사 | Method for reducing load in getting and setting information of object and processor therefor |
-
2005
- 2005-02-18 KR KR1020050013522A patent/KR100703743B1/en not_active IP Right Cessation
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100944493B1 (en) * | 2008-05-26 | 2010-03-03 | (주)정글시스템 | Hanja Multi Code System and Searching Method Therefore and Record Medium for Recording Hanja Multi Code System |
KR101693627B1 (en) * | 2015-10-08 | 2017-01-17 | 숭실대학교산학협력단 | Apparatus and method for converting character encoding |
Also Published As
Publication number | Publication date |
---|---|
KR100703743B1 (en) | 2007-04-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6400287B1 (en) | Data structure for creating, scoping, and converting to unicode data from single byte character sets, double byte character sets, or mixed character sets comprising both single byte and double byte character sets | |
CN108491199B (en) | Method and terminal for automatically generating interface | |
US7278100B1 (en) | Translating a non-unicode string stored in a constant into unicode, and storing the unicode into the constant | |
AU2002234715B2 (en) | Method for compressing/decompressing a structured document | |
US7886309B2 (en) | Accessing a platform independent input method editor from an underlying operating system | |
CN104199812B (en) | Data system and method supporting multiple languages | |
EP1678629B1 (en) | Extensible framework for handling different mark up language parsers and generators in a computing device | |
US20050114405A1 (en) | Flat file processing method and system | |
EP0268069B1 (en) | Method of forming a message file in a computer | |
CN112597454A (en) | Code obfuscation method, code operation method, device, medium, and apparatus | |
CN101739394B (en) | Network translation inquiry system embedded in webpage and method thereof | |
US7051278B1 (en) | Method of, system for, and computer program product for scoping the conversion of unicode data from single byte character sets, double byte character sets, or mixed character sets comprising both single byte and double byte character sets | |
CN113139390A (en) | Language conversion method and device applied to code character strings | |
KR20000011278A (en) | Method, apparatus,and product for transmitting multibyte characters in a network | |
CN108664546B (en) | XML data structure conversion method and device | |
KR100703743B1 (en) | Apparatus and method for converting character code | |
CN106569939B (en) | Control script program multi-country character analysis system and multi-country character analysis method | |
CN112527733A (en) | Method and system for processing messy codes of archived file and compressed file in linux system | |
KR20070014646A (en) | Asc ii/unicode conversion method | |
CN114265638A (en) | Communication method, device, equipment and storage medium based on plug-in compatibility | |
CN111045530A (en) | Method and equipment for simulating multi-language keyboard output by embedded bar code reading equipment | |
CN111353279A (en) | Character code conversion method, device and computer storage medium | |
KR100923258B1 (en) | Unicode converting method for mobile terminal source file | |
CN112947938B (en) | File conversion method and device, electronic equipment and storage medium | |
CN114756230A (en) | Time format conversion method based on Java |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20130227 Year of fee payment: 7 |
|
FPAY | Annual fee payment |
Payment date: 20140227 Year of fee payment: 8 |
|
FPAY | Annual fee payment |
Payment date: 20150226 Year of fee payment: 9 |
|
FPAY | Annual fee payment |
Payment date: 20160226 Year of fee payment: 10 |
|
FPAY | Annual fee payment |
Payment date: 20170224 Year of fee payment: 11 |
|
FPAY | Annual fee payment |
Payment date: 20180227 Year of fee payment: 12 |
|
LAPS | Lapse due to unpaid annual fee |