Lisp HUG Maillist Archive

user-defined external format?

I'm working on some code that interfaces with the Lotus Notes C API. Lotus Notes us something called LMBCS[1] internally, which does not seem to be supported directly by Lispworks. (LMBCS is based on CodePage 850, but with "shift codes" to access characters outside the CP850 set).

Is there a way to extend the set of external formats available in Lispworks?

[1] http://www.bobzblog.com/tuxedoguy.nsf/dx/multilanguage.pdf/$file/multilanguage.pdf

Re: user-defined external format?

Raymond Wiker wrote on Fri, 9 Nov 2012 12:48:38 +0100 15:48:

| I'm working on some code that interfaces with the Lotus Notes C API.
| Lotus Notes us something called LMBCS[1] internally, which does not
| seem to be supported directly by Lispworks. (LMBCS is based on CodePage
| 850, but with "shift codes" to access characters outside the CP850
| set).
| 
| Is there a way to extend the set of external formats available in
| Lispworks?

I believe many of the Russians miss KOI8-R, the most popular encoding
of Russian on *nix.

Edi's flexi-streams supports CP850, KOI8-R, and almost every encoding
one could wish. It is quite universal but is not very efficient IMHO.
--
Sincerely,
Dmitry Ivanov
lisp.ystok.ru

_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html


Re: user-defined external format?

FLEXI-STREAMS doesn't directly support the Lotus Notes external
format, but it should be fairly easy to add that.

It is indeed true that FLEXI-STREAMS - because it tries to be flexible
and to work across many different Lisps - isn't very efficient
compared to native implementations.  The 1.0.x versions are a lot
faster than older releases, though.

Cheers,
Edi.


On Fri, Nov 9, 2012 at 2:44 PM, Dmitry Ivanov <ystok-systema@rambler.ru> wrote:
>
> Raymond Wiker wrote on Fri, 9 Nov 2012 12:48:38 +0100 15:48:
>
> | I'm working on some code that interfaces with the Lotus Notes C API.
> | Lotus Notes us something called LMBCS[1] internally, which does not
> | seem to be supported directly by Lispworks. (LMBCS is based on CodePage
> | 850, but with "shift codes" to access characters outside the CP850
> | set).
> |
> | Is there a way to extend the set of external formats available in
> | Lispworks?
>
> I believe many of the Russians miss KOI8-R, the most popular encoding
> of Russian on *nix.
>
> Edi's flexi-streams supports CP850, KOI8-R, and almost every encoding
> one could wish. It is quite universal but is not very efficient IMHO.
> --
> Sincerely,
> Dmitry Ivanov
> lisp.ystok.ru
>
> _______________________________________________
> Lisp Hug - the mailing list for LispWorks users
> lisp-hug@lispworks.com
> http://www.lispworks.com/support/lisp-hug.html
>

_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html


Updated at: 2020-12-10 08:36 UTC