I have small piece in code which requires to convert cedilla delimited file to comma separated file.
It worked fine for the normal test cases. But, when it went to real time, when the file is provided in unix environment, it could not recognize cedilla character in the text and failed to convert to proper CSV file.
Could you please help me out , if any one faced this issue.? I need to pass the delimiter from the command line arguments.
Sorry if the question is in improper format, but i didnt recieve any help. so posted in stackoverflow.
Sample Code:
line = line.replace(Character.toLowerCase(context.getConfiguration().get("input.delimiter").charAt(0)), ',');
line = line.replace(Character.toUpperCase(context.getConfiguration().get("input.delimiter").charAt(0)), ',');