I believe I can squeeze 3 8-bit ascii characters into a single 20-bit unicode character
No, you can't.
If you want to store more bits in a limited storage area than that storage area allows, you need compression, either lossy or lossless. Just shifting bits around won't help.
Alexander
In reply to Re: Losing Bits with Pack/Unpack
by afoken
in thread Losing Bits with Pack/Unpack
by o0lit3
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |