[cl-pdf-devel] latin-2 + sbcl + hungarian characters
Roland Lohner
lohner.roland at gmail.com
Wed Feb 6 14:47:03 UTC 2008
Hi Dmitriy, List,
thanks for the answer.
A diff of an another useful solution considering you opinion is attached.
Please take a look at it.
Regards,
Roland Lohner
As *latin-2-encoding* is an instance of custom-encoding, not just
> single-byte-encoding, your approach is not quite universal. The proposed
> method on charset
>
> (defmethod charset ((encoding (eql *latin-2-encoding*)))
> *latin-2-charset*)
>
> displaces the "standard value" :latin-2, which is stored in the charset
> slot
> and seems to work fine for the others. So your proposal could potentially
> defeat other Lisp implementations.
>
> Just expanding the definition of char-external-code for SBCL would be a
> better solution. I feel that that should be enough but do not know how to
> do
> that.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cl-pdf-devel/attachments/20080206/b6ae983d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sbcl-latin2-hun.svndiff-2
Type: application/octet-stream
Size: 2366 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/cl-pdf-devel/attachments/20080206/b6ae983d/attachment.obj>
More information about the cl-pdf-devel
mailing list