This is library of charactor encoding (Shift_JIS) converter for R7RS Scheme.
Install script is not provided.
Copy encode/sjis.sld
to library directory.
Import (encode sjis)
, and see below refernce about procedures.
This procedure encodes from UTF-8 to Shift_JIS between bytevectors.
This procedure encodes from UTF-8 to Shift_JIS between binary ports.
This procedure encodes from Shift_JIS to UTF-8 between bytevectors.
This procedure encodes from Shift_JIS to UTF-8 between binary ports.
This procedure converts from string to Shift_JIS bytevector. In R7RS implementations that don't support UNICODE, you cannot expect correct behavior about this procedure. Use always bytevector than string.
- Sagittarius Scheme
- Chibi Scheme
- Gauche
- Foment --- On this implimentation, don't use
string->sjis
.
SAITO Atsushi (maldikulo@gmail.com)