• Post Reply Bookmark Topic Watch Topic
  • New Topic

UTF-8 CONVERSION  RSS feed

 
marz logic
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Requirements are as follows:

a) convert a .csv file which would be in any format to UTF-8. while converting it should overwrite the current file.

b)This should work in both windows & linux enviroments

Any help will be greatly appreciated. Thanks
 
Salil Wadnerkar
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just use the required encodings in InputStreamReader (the encoding of the file) and OutputStreamWriter (utf-8 encoding)
 
Norm Radder
Rancher
Posts: 2240
28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
be in any format 

Is there a way to determine what format the input is in?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!