-
Notifications
You must be signed in to change notification settings - Fork 253
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
73b9174
commit 756ff88
Showing
9 changed files
with
2,159 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
######################## BEGIN LICENSE BLOCK ######################## | ||
# The Original Code is mozilla.org code. | ||
# | ||
# The Initial Developer of the Original Code is | ||
# Netscape Communications Corporation. | ||
# Portions created by the Initial Developer are Copyright (C) 1998 | ||
# the Initial Developer. All Rights Reserved. | ||
# | ||
# Contributor(s): | ||
# Mark Pilgrim - port to Python | ||
# | ||
# This library is free software; you can redistribute it and/or | ||
# modify it under the terms of the GNU Lesser General Public | ||
# License as published by the Free Software Foundation; either | ||
# version 2.1 of the License, or (at your option) any later version. | ||
# | ||
# This library is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
# Lesser General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU Lesser General Public | ||
# License along with this library; if not, write to the Free Software | ||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | ||
# 02110-1301 USA | ||
######################### END LICENSE BLOCK ######################### | ||
|
||
from .mbcharsetprober import MultiByteCharSetProber | ||
from .codingstatemachine import CodingStateMachine | ||
from .chardistribution import JOHABDistributionAnalysis | ||
from .mbcssm import JOHAB_SM_MODEL | ||
|
||
|
||
class JOHABProber(MultiByteCharSetProber): | ||
def __init__(self): | ||
super(JOHABProber, self).__init__() | ||
self.coding_sm = CodingStateMachine(JOHAB_SM_MODEL) | ||
self.distribution_analyzer = JOHABDistributionAnalysis() | ||
self.reset() | ||
|
||
@property | ||
def charset_name(self): | ||
return "Johab" | ||
|
||
@property | ||
def language(self): | ||
return "Korean" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
To read this document, use common combined Hangul code or KSSM code. | ||
|
||
<<< �e�a�a�� 3.0 >>> | ||
|
||
�A�b ������ | ||
|
||
Copyright (C) 1990, 1997 by Inkeon Lim | ||
All rights reserved | ||
|
||
|
||
o ��b�� �ŝe �A�� �a�w | ||
* �� CD�A ͡�q�E ���e �e�a�a�� �ŝe �a���i�� ��b���e �A�b�a�� ���A�����a. | ||
* �� CD�A ͡�q�E ���e �e�a�a�� �ŝe �a���i�e �A�b�a�� ��a ���� ����e | ||
�wȁ���e ���� ���e ���A�i ���a�a�a �a���A�A ��͡�i �� ���s���a. | ||
(��: ɷ���w�A ���� ���a, �a �a���a�១�a �a���a���A ͡�q ���a) | ||
* �a�w�a�e �e�a�a���� ���a��, ���a�E ��З �a��(.EXE �a��) �� ��З�A ϩ����a�� | ||
�a���A�e ���� �a��(�i�� �a�� �w)�e�i �a�A���A ��͡�i �� ���a�a, �a �w���A | ||
�e�a�a �e�a�a�� �w�w �a���a���i �w��ⷥ �w������ ��͡�i �� ���s���a. | ||
* ���a š�a�A ���e �a�w�e hlprosrc.doc�i �q���a�� �a�s���a. | ||
|
||
o �e�a�a���e ���a�w �e�i �a���a�១�����a. �a�w�a�a ���a�e �a��Ϣ �a�w�a | ||
�����A���a(GUI)�i �A�b�a�� ���e �����i �A���s���a. | ||
|
||
o �e�a�a���� ���e ���� �a��(.DOC �a��)�e �w�w ���s�w š�a(KSSM š�a)�� �b���A�� | ||
���s���a. | ||
|
||
o �e�a�a���� ��á �w��e install.doc �a���A ��w�A�� ���a�a, ���A ��á�e ��á | ||
�a���� install.bat�i ��З���a ��З�s���a. ��á�a�� ��A �e�a�� install.doc | ||
�a���i ���ᥡ�� �e�a�a���i ��á�a�� �a�s���a. | ||
|
||
o 286 š�a�� �A�������a BC++ 3.0�a�� ���a���E �a���a�១ �a���i�� HLIB\BCLIB | ||
���Bɡ���A �A���S���a. BC++ 3.0 ���w �a�w�a�e �a�w�a �e����A ��s�E HLIB\LIB | ||
�����A HLIB\BCLIB ���Bɡ���i ���a���� ���e�A ����a�� �a�s���a. |
Oops, something went wrong.