Search:

Type: Posts; User: lemmyz

Search: Search took 0.09 seconds.

  1. Replies
    10
    Views
    3,228

    Re: Reading input from console (greek chars)

    Well it appears to be a lot harder than i thought.. thanks anyway for your hints
  2. Replies
    10
    Views
    3,228

    Re: Reading input from console (greek chars)

    Well i know that but all these errors? i do not intend to complile Sun's source. I was just checking if all my imports work...
  3. Replies
    10
    Views
    3,228

    Re: Reading input from console (greek chars)

    Yep:

    1. cannot find symbol
    symbol: class StreamDecoder
    location: class java.io.InputStreamReader


    2. variable sd might not have been initialized

    3. exception...
  4. Replies
    10
    Views
    3,228

    Re: Reading input from console (greek chars)

    thanks for your help but won't you have to type greek? By the way i checked the declaration of InputStreamReader.java
    and netbeans shows several "mistakes". How can that be? it's the JDK!!!
    ...
  5. Replies
    10
    Views
    3,228

    Re: Reading input from console (greek chars)

    I added "UTF8" and then "Cp1253" (for greek only) but still the same.


    BufferedReader in = new BufferedReader(new InputStreamReader(System.in, "UTF8" ));



    BufferedReader in = new...
  6. Replies
    10
    Views
    3,228

    Reading input from console (greek chars)

    Hello There

    The following example code works fine.


    public static void main(String[] args) {
    char a='α';
    System.out.println(a);
    ...
Results 1 to 6 of 6