|
From: | Shawn |
Subject: | Re: [STUMP] Stumpwm crashes when there is incorrect utf-8 in windows title |
Date: | Thu, 10 Jul 2008 18:47:55 -0700 |
User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
Alexey Lebedeff <address@hidden> writes: > Here is better version of utf8-to-string (sbcl part): > > #+sbcl (handler-bind > ((sb-impl::octet-decoding-error #'(lambda (c) > (invoke-restart 'use-value "?")))) > (sb-ext:octets-to-string octets '(vector (unsigned-byte 8))) > :external-format :utf-8))) Thanks! I've added a working version of the above to git. -Shawn
[Prev in Thread] | Current Thread | [Next in Thread] |