Subject: Re: Two-byte char to bit array From: Erik Naggum <erik@naggum.net> Date: Mon, 04 Mar 2002 22:31:36 GMT Newsgroups: comp.lang.lisp Message-ID: <3224269905160580@naggum.net> * 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.