[clug-talk] OT - Java Programing Question

Evan Brown evan at totaltrucking.com
Tue Nov 16 08:07:48 PST 2004

Evan Brown wrote:

> Hey Guys
> I'm trying to read a bunch of binary data from a string and store it 
> in a database. The problem is when I get undisplayable characters it 
> inserts the value for the undisplayable place holder ,?, instead of 
> the actual value. How do I fix this? Anyone?
> Evan Brown
Hey Guys

I figured it out, duh, I didn't realize that when you do a .getBytes you 
can specify the encoding type ie. ISO-8859-1. This worked to put all my 
values into the DB properly.

Evan Brown

More information about the clug-talk mailing list