I added Big5 support to Factor last night. I didn't end up using your code since Big5 is just another EUC, and we have an implementation of EUC-KR, so I abstracted out the code for EUC-KR and now it's also used by Big5, Johab and EUC-JP. Maybe I should support EUC-CN (GB 2312) also. Here's what the Big5 source code looks like now:
USING: io.encodings.iana io.encodings.euc ; IN: io.encodings.big5 EUC: big5 "vocab:io/encodings/big5/CP950.txt" big5 "Big5" register-encoding The parsing word EUC: reads the resource file and defines the encoding descriptor big5. I plan on reorganizing 8-bit encodings along these lines. Dan On Sun, Mar 1, 2009 at 11:48 PM, 胡培舜 <[email protected]> wrote: > Hi, all > > I have working on Taiwan Big5 encoding, It can work normally now, > here is result > > http://paste.factorcode.org/paste?id=482 > > Can I commit to io.encodings.Big5 ? > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Factor-talk mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/factor-talk > > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Factor-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/factor-talk
