[clug-talk] OT - Java Programing Question
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
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.
More information about the clug-talk