InputStreamReader problem...should be an easy fix

try
     FileReader reader = new FileReader(fileName);
     InputStreamReader inputreader = new InputStreamReader(reader, Charset.forName("ISO-8859-1"));
     BufferedReader buffer = new BufferedReader(inputreader);
My compiler says:
C:\java\NFOview>javac NFOview.java
NFOview.java:89: cannot resolve symbol
symbol : constructor InputStreamReader(java.io.InputStreamReader,java.nio.charset.Charset)
location: class java.io.InputStreamReader
InputStreamReader inputreader = new InputStreamReader(inputreader, Charset.forName("ISO-8859-1"));
^
1 error

Hi Chris,
it sounds to me like you are trying to somehow get the upper-ascii characters in DOS to render (upper-ascii is what I call them). Stuff like the characters for creating borders, the different symbols common to fonts like Terminal, MS Linedraw, GWTE_437.. aka the Cp437 charset.
I'll trade answers with you... did you get the Terminal font itself to render in java (w/o the special chars).
I wrote a custom sort of drawString that used character glyphs and a custom mapping to be able to get the special symbols from MS Linedraw so my IRC Client would be able to render the special characters correctly.
I got the code at home... but answer my question and if your interested in my code to draw the upper-ascii characters let me know I'll post it in a day or so.

Similar Messages

Maybe you are looking for

  • Efficiency of decoding and displaying image files?

    BRIEF SUMMARY My question is this: can Flash Player download JPG and GIF files from a server and rapidly open/decode them, ready for display, efficiently and entirely 'in memory'? Would Flex be a good choice of language for developing a RIA that need

  • Displaying Asian characters on Solaris platform?

    I have a java application that can display Chinese, Japanese, Korean & Taiwanese (CJKT) on a Windows platform. It is able to display these characters on Windows because i have installed the CJKT locales and have modified the font.properties file to p

  • ADF Controls not working throught Portlet Bridge

    Hello, I have a JSF/ADF Faces very simple application, when I expose this application using Portlet Faces Bridge, JSF controls are working but ADF controls are not working. I am using: JDeveloper 10.1.3.3 OC4J 10.1.3.3 Standalone with PDK 10.1.3.2 Po

  • HP Photosmart Pro B9180 - print problem - color

    The photo output is not the correct color.  I tried cleaning and calibartaing but tere does not seem to be magenta printing.  the reoprt says the printhead is oK, but it is not printing correctly ? Any ideas ?

  • Linux Based FMB on Windows or vise versa

    Hi all, If i design any fmb(using Oracle fusion middleware R1 forms) on Linux based machine/virtual machine, Can i open it with windows 7(using Oracle fusion middleware R1 forms). or do i need to perform any conversion for that?