Hi,
iam creating a
java class to read values from excel and insert into DB. Iam using POI package. In excel i have one column which has values like this
≤ 7⅜ x 9¼“ or 260 x 195mm. After reading the values from the cell using POI it is inserted into database as
? 7? x 9?? or 260 x 195mm. First i thought that it is something to do with POI package and was searching for a solution. But after searching i found that it is not issue with POI. It is something to do with java. To confirm this i just assigned the value to a
string (hardcoded) and when i did system.out.println it gives output as below. Special characters are replaced by ?.
but the output is: ? 7? x 9?? or 260 x 195mm
What should i do for this?
Thanks.