I have a u umlaut in text file , with the hex dump value
cat /tmp/bb
ü
hexdump /tmp/bb
0000000 bcc3 000a
0000003
When I insert the umlaut in the database with a column on type VARCHAR2(128 CHAR)
DUMP(res,1016)
Typ=1 Len=6 CharacterSet=UTF8: ef,bf,bd,ef,bf,bd
Bytes are completely different. (My database is set as UTF8 charset)
Question how do I insert data into the column using sqlplus. Any ideas?
Assuming you mean that you have a u with a diaeresis, not a u with an unmlat, you can use the UNISTR function to enter the UCS-2 code point of the character in SQL*Plus (U+00FC for a u with a diaeresis)
If you are just trying to read the data from the file into the database, however, there are likely easier options than converting everything to UCS-2 code points.