Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

using/providing new character set.

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
I'm trying to write a class which will be able to read a file written in any format, provided its encoding informaiton. I've used java.nio.charset.Charset and related classes to do the same.
My problem is that, this class(java.nio.charset.Charset) provides only a number of formats(if charset.jar is also taken into account, then some more). I want to provide my own characters/encoding. I looked for the same in JDK 5.0 documentation but I could only find java.nio.charset.CharsetProvider whose use I don't know.
Please help me and guide me how to provide extensions for charset or any useful link.

Thanks in advance.
 
lowercase baba
Posts: 13075
67
Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
RupeshKumar,

perhaps you missed our naming policy on the way in. Basically, we require a real sounding first AND last name, separated by a space. please go here and update your profile.

Thanks, and see you 'round the Ranch!!!
 
RupeshKumar
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I expected answer to more critical problems in life, but since you asked, I'm Rupesh Kumar and someone else had registered with this name, so I had to take this type of name.
 
Sheriff
Posts: 67671
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"RupeshKumar", fred's request that you change your display name to adhere to JavaRanch standards was not a suggestion. Valid display names are mandatory for participation on the Ranch. Please change your display name as instructed prior to your next post.

The fact that someone else has the same name as a display name is not a factor.

Be aware that accounts with invalid display names are disabled.

bear
JavaRanch Sheriff
 
The only cure for that is hours of television radiation. And this tiny ad:
Garden Master Course kickstarter
https://coderanch.com/t/754577/Garden-Master-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic