From ... Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!isdnet!freenix!deine.net!hamster.europeonline.net!newsfeed.europeonline.net!nslave.kpnqwest.net!nloc.kpnqwest.net!nmaster.kpnqwest.net!nreader3.kpnqwest.net.POSTED!not-for-mail Newsgroups: comp.lang.lisp Subject: Re: Two-byte char to bit array References: Mail-Copies-To: never From: Erik Naggum Message-ID: <3224269905160580@naggum.net> Organization: Naggum Software, Oslo, Norway Lines: 15 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 04 Mar 2002 22:31:36 GMT X-Complaints-To: newsmaster@KPNQwest.no X-Trace: nreader3.kpnqwest.net 1015281096 193.71.199.50 (Mon, 04 Mar 2002 23:31:36 MET) NNTP-Posting-Date: Mon, 04 Mar 2002 23:31:36 MET Xref: archiver1.google.com comp.lang.lisp:27784 * kyongho.min@aut.ac.nz (Kyongho Min) | Can anyone help me change two-byte char into a bit array. | Otherwise how can I change a char #\A into a bit array. | I'd like to do some bit operation such as "shift 3 bits left". Can you do that on a bit array? I have always missed the ability to do such useful things on bit arrays. You could probably work with the code-value of the character. char-code produces an integer that should be amenable to bit-shifting. /// -- In a fight against something, the fight has value, victory has none. In a fight for something, the fight is a loss, victory merely relief.