SET encoding

Started by Oleg Broytmannalmost 27 years ago1 messages
#1Oleg Broytmann
phd@sun.med.ru

Hello!

I want to hack into CYR_RECODE. I need to reimplement encoding selection
algorithm. Actually I want to add a few bytes of code - after default
selection I want to SET destination encoding.
From you, folks, I need the following information:

1. How to add new SET command?

2. How to implement SET command?
Detalied explanation would be good, but it is enough to point me into
alread existed code.

3. Any advice on how to name it. I prefer SET DEST_ENCODING='windows-1251'.
Any objection?

Oleg.
----
Oleg Broytmann http://members.tripod.com/~phd2/ phd2@earthling.net
Programmers don't die, they just GOSUB without RETURN.