Handling Special char such as ^ÛY, ^ÛR in java

Posted by RJ on Stack Overflow See other posts from Stack Overflow or by RJ
Published on 2010-05-07T08:23:14Z Indexed on 2010/05/07 8:28 UTC
Read the original article Hit count: 329

Hi,

Has anybody encountered special char such as ^ÛY, ^ÛR ?

Q1. How do I do an ftp of the files containing these chars? The chars are not seen once I do a ftp on AIX (bi or ascii) and hence I am unable to see my program to replace these, working.

Q2. My java program doesn't seem to recognise these or replace these if I search for these explicitly (^ÛY, ^ÛR ) in the file however a replace using regular expression seems to work (I could only see the difference in the length of the string). My program is executed on AIX. Any insights why java cannot recognise these?

Q3. Does the Oracle database recognise these chars? An update is failing where my program indicates the string to be of lesser length and without these characters but the db complains "value too large for column" as the string to be updated contains these chars and hence longer.

thanks in advance,

RJ

© Stack Overflow or respective owner

Related posts about special-characters

Related posts about non-ascii-chars