That's great! For this, I don't think a special method for <encoder>
or <decoder> is necessary; the default one should do fine. I can't
believe I forgot about using MEMO: to load resource files; that's a
much cleaner technique than VALUE:.

About CP949 vs the proper EUC-KR: is the Microsoft version a strict
superset of the official version, or does it have some changes in the
ASCII range the way the equivalent Japanese encodings do? If there are
changes, it seems like we should support both. I want the Factor
encodings library to be completely correct with respect to the
standards, as well as practical.

As far as register-encoding, that word is used to set up a mapping of
IANA encoding names to Factor encoding descriptors, so if CP949 isn't
IANA-registered, it wouldn't make sense to use that name with
register-encoding. On the other hand, if that encoding name is used
unofficially on the internet a lot, I could extend io.encodings.iana
to let you register a list of synonyms that are unofficial.

Dan

On Mon, Feb 9, 2009 at 8:27 AM, Jong-Hyouk Yun <[email protected]> wrote:
> here is unfinished code...
>
> http://paste.factorcode.org/paste?id=419
>
> anybody help me to complete <encoder>, <decoder>?
>
> I got to go to bed for tomorrow working T.T...
>
>
> Cheers.
>
> 2009/2/9 Jong-Hyouk Yun <[email protected]>:
>> Hi,
>>
>> After coming home from office, I've worked awhile for cp949(aka cp949,
>> uhc -- unified hanguel code, and extended euc-kr) encoding for Korean.
>>
>> Anyway, I found IANA registry has no entry for "cp949".
>> "cp949" is de facto Korean encoding, but there's not found. (I thinks
>> ksc codes are quite similar but I knew it's not same things)
>>
>> So, can I use below?
>>
>> <code>
>> cp949 "cp949" register-encoding
>> </code>
>>
>> I think most Korean hackers prefer 'cp949' or 'ms949'than
>> ksc-blah-blah-blah-blup-blahs.
>>
>> It was easy to implement encoding in Factor than I expected, so I
>> expect I could release it's shamelessly "japanese.factor" resemblance
>> encoding, soon. :-)
>>
>>
>> Thanks.
>>
>
> ------------------------------------------------------------------------------
> Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code to
> build responsive, highly engaging applications that combine the power of local
> resources and data with the reach of the web. Download the Adobe AIR SDK and
> Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
> _______________________________________________
> Factor-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to