Quote:
Originally posted by dileck
in fact I couldnt understand well why it does matter? because I read the content of the file with a java function and it returns a string, and I insert this string..so how can it understand that it is from a word doc.
|
Maybe I don't quite understand your question.
Java may be able to represent the binary stream from the Word file as funky chracters in Unicode or some such thing, but if the database is not defined as Unicode there's no mapping to a character db2 knows.
You also have to be careful storing character data as BIT DATA for the same reason - if you insert it from a Unicode environment then read it from something else, you will get bit-for-bit what you put in, which may not appear as real characters in the second environment.