Character conundrum

From: Dave Bender (dave_at_benders-of-edina.com)
Date: 10/28/03


Date: Tue, 28 Oct 2003 08:30:42 -0600

Does anyone know why the getCharacterStream() method returns a Reader rather
than a CharacterStream, as its name suggests? All the other
ResultSet.getxxxStream() methods return Streams. Why doesn't this one?

I ask because we're having trouble with character encodings, where the
database is on a Windows machine, the application is on a Solaris machine,
and some of the characters from a text field are getting munged. The cause
of the problem seems to have something to do with character encoding. An
InputStream would give us the getEncoding() method, and even set the
encoding in its constructor. But a Reader doesn't seem to provide that. Is
there a way to coax the preferred character encoding to and from a Reader?

Dave



Relevant Pages

  • Re: Outline > approx. word count?
    ... would have made 1) better, clearer, smaller paragraphs and 2) kept the ... I felt it would throw the reader ... Who is Joaquin? ... nothing about the character, his situation, his world, or the problems he's ...
    (rec.arts.sf.composition)
  • REVIEW: Russells Reviews Volume One # 1
    ... this is a deliberate decision on Martin's ... human mind for a reason, and that reason is that it ... but generally a new reader should be able to pick up ... About the only character with any colour to her is ...
    (rec.arts.comics.creative)
  • Re: Friday and Job vs the Brain Eater
    ... like the character Maureen, but her objection was that it ... inconsistencies, and setting inconsistencies. ... but clear from "Man" that this was Harriman) ... author trying to manipulate the reader into particular emotional ...
    (rec.arts.sf.written)
  • meanderings on focus (long)
    ... a)the main plot event in every chapter. ... a new character or place is introduced and code them as either ... 3.I'd also mark the key turning points on the diagram ... and may not hit the reader as turning points. ...
    (rec.arts.sf.composition)
  • Re: Friday and Job vs the Brain Eater
    ... like the character Maureen, but her objection was that it ... inconsistencies, and setting inconsistencies. ... but clear from "Man" that this was Harriman) ... author trying to manipulate the reader into particular emotional ...
    (rec.arts.sf.written)