Results 1 to 2 of 2
  1. #1
    hariharabalan is offline Member
    Join Date
    Dec 2010
    Posts
    1
    Rep Power
    0

    Default Encoding in java.io.writer

    What is the encoding that is used in the write function of java.io.writer class? Can I get the implementation of the same?

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,335
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by hariharabalan View Post
    What is the encoding that is used in the write function of java.io.writer class? Can I get the implementation of the same?
    It are the bridges between character based output to byte based output that do the conversion (e.h. OutputStreamWriter). You can select the encoding to use when you instantiate one of those bridges. Also look in your jdk installarion directory; you can see a file src.zip that contains the source code for all those classes, free to study.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

Similar Threads

  1. Researcher's Writer - My Personal Project
    By GraceC1990 in forum Advanced Java
    Replies: 2
    Last Post: 10-23-2010, 06:06 PM
  2. encoding > java, javamail and mysql
    By litpuvn in forum Advanced Java
    Replies: 6
    Last Post: 10-21-2010, 03:35 PM
  3. creating word writer
    By Anchal in forum AWT / Swing
    Replies: 3
    Last Post: 04-06-2010, 09:00 AM
  4. CSV file writer
    By nida in forum Java Servlet
    Replies: 3
    Last Post: 05-08-2009, 02:08 PM
  5. Character encoding in Java (Linux to Windows)
    By BeholdMyGlory in forum New To Java
    Replies: 2
    Last Post: 01-16-2009, 06:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •