You are on page 1of 4

Mi thu: Xut ting Vit x tin vi Unikey

Yu cu chung: Deadline pht trin: 2012/06/30 Ni dung: Thm chc nng xut ting Vit vi encoding x tin trong Unikey 3.6.2 Chi ph (bounty): (ti a) 2 triu ng (thanh ton 50% sau demo v 50% sau deadline) Sn phm giao np: Ton b m ngun (khuyn khch s dng github) Tp thc thi, b ci (.exe, .msi) Evidence chy Unikey trn Windows XP v Windows 7

Ghi ch: u tin sinh vin Cn gi CV, t gii thiu bn than khi bid d n Dnh cho PG a ra gi hp l nht v sm nht, CV p nht

Lin h nh thu: Nguyn V Hng, email: vuhung16plus@gmail.com, YIM: vuhung16 , Skype: vuhung16plus, twitter: vuhung, MSN: vuhung16, FB: http://www.facebook.com/nguyenvuhung Demo lut g x tin: http://sites.google.com/site/golemesnair/home Lp trnh vin cn: Xem javascript code, bt chc v implement vo Unikey M ngun Unikey x tin mi: Phi da trn Unikey 3.6.2

http://prdownloads.sourceforge.net/unikey/Uk362src.zip (http://unikey.org/source.php)

Yu cu i vi Unikey (sau khi tch hp chc nng xut Ting Vit x tin) Gi nguyn/khng lm nh hng ti cc chc nng c ca Unikey X tin encoding h tr cc kiu g c sn ca Unikey: Telex, VNI

Yu cu mi trng Ging Unikey 3.6.2 Ngha l h tr Windows 2000, XP, Vista, 7

Phn tch s b: Cn thm encoding Xitin vo file Newkey/encoding.cpp


//////////////////////////////////////////////////////////////////////*/ CharsetInfo CharsetTable[TOTAL_CHARSET] = { {_TEXT("Unicode"), UNICODE_UCS2}, {_TEXT("TCVN3 (ABC)"), CONV_CHARSET_TCVN3, 0}, {_TEXT("VNI Windows"), {_TEXT("VIQR"), 0}, {_TEXT("Vietnamese locale CP 1258"), 0x109, {_TEXT("UTF-8 Literal"), UNICODE_UTF8}, {_TEXT("NCR Decimal"), UNICODE_REF}, {_TEXT("NCR Hex"), CONV_CHARSET_UNIREF_HEX,UNICODE_HEX}, {_TEXT("Composite Unicode (To hop)"), 0x108, {_TEXT("VISCII"), {_TEXT("VPS"), 0}, {_TEXT("BK HCM 2"), {_TEXT("BK HCM 1"), {_TEXT("Vietware X"), {_TEXT("Vietware F"), {_TEXT("X UTF-8"), UNICODE_UTF8_X}, {_TEXT("Unicode C String"), UNICODE_CSTRING} };

0x101, 0, 0x102,

CONV_CHARSET_UNICODE,

CONV_CHARSET_VNIWIN, 0}, 0x100, CONV_CHARSET_VIQR,

CONV_CHARSET_WINCP1258, 0}, 0x101, CONV_CHARSET_UNIUTF8, 0x101, 0x101, CONV_CHARSET_UNIDECOMPOSED, 0}, 0x106, CONV_CHARSET_VISCII, 0}, 0x104, CONV_CHARSET_VPS, 0x103, CONV_CHARSET_BKHCM2, 0x107, CONV_CHARSET_BKHCM1, CONV_CHARSET_VIETWAREX, 0}, CONV_CHARSET_VIETWAREF, 0x101, CONV_CHARSET_UNIUTF8, CONV_CHARSET_UNI_CSTRING, 0}, 0}, 0}, CONV_CHARSET_UNIREF,

0x105, 1, 0x101,

Hng dn cch thm charset mi (Phm Kim Long)


STEPS TO ADD NEW CHARSETS 1. For 1-byte charsets - Append charset to the end of table MapBD, MapBK, MapBW, MapBT - Insert charset information into CharsetTable (to any position you like), provide following information: + Charset name + The index of the charset in the table MapBD (the same as in MapBK, MapBW, MapBT)

- Increase TOTAL_CHARSET constant (in keycons.h) by 1 to reflex the number of supported charsets 2. For 2-byte charsets - Append charset to the end of BOTH tables UniVnL (for lowercase), UniVnH (for upper case) - Insert charset information into CharsetTable (to any position you like), provide following information: + Charset name + The index of the charset in the tables UniVnL (the same as in UniVnH) PLUS 0x101 - Increase TOTAL_CHARSET constant by 1 in keycons.h to reflex the number of supported charsets

Unikey Xitin User Interface s nh th no?

Demo b g Xitin

You might also like