Search:

Type: Posts; User: sophist42

Search: Search took 0.38 seconds.

  1. Re: Strange problem printing Unicode characters

    *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).
    ...
  2. Re: Strange problem printing Unicode characters

    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...
  3. Re: Strange problem printing Unicode characters

    How about this?
    public class WhatIsTheBug
    {
    public static void main(String[] args)
    {
    int tmpDec = 135; // that's the problem value
    char tmpChar =...
  4. Re: Strange problem printing Unicode characters

    Sorry about the last part. I was in a hurry and had copied and pasted a message to a listserv. My bad.
  5. Strange problem printing Unicode characters

    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 =...
Results 1 to 5 of 5