*blush* I have to admit, I never thought to use anything other than the default encoding. You're right, apparently 8859-1 doesn't have encodings for some hexadecimal values, including 135 (0x87).
...
Type: Posts; User: sophist42
*blush* I have to admit, I never thought to use anything other than the default encoding. You're right, apparently 8859-1 doesn't have encodings for some hexadecimal values, including 135 (0x87).
...
Maybe that's my question. In Huffman coding, after you convert the original characters to their Huffman codes and generate a long binary string (like "11011010010001"), you then need to break up that...
How about this?
public class WhatIsTheBug
{
public static void main(String[] args)
{
int tmpDec = 135; // that's the problem value
char tmpChar =...
Sorry about the last part. I was in a hurry and had copied and pasted a message to a listserv. My bad.
Help! My students are trying to implement the Huffman coding algorithm and
one of them is having a bizarre error that I can't figure out. Here's the
problem code segment:
int tmpDec =...