UTF output files and conversion

 2 Replies
 0 Subscribed to this topic
 11 Subscribed to this forum
Sort:
Author
Messages
Greg Moeller
Veteran Member
Posts: 1498
Veteran Member

    Hello all:

    I'm looking for the best/easiest way to strip out those first 3 characters that exist on UTF output files from Crystal scheduler.  Does anyone have any recommendations?

    We are Sun Solaris Unix running 9.0.1 apps and env.

    It just appears on the first record, and we need to get rid of it.

    Thanks for the help, all.

    Greg Moeller
    Veteran Member
    Posts: 1498
    Veteran Member
      I can get the file close using iconv -f UTF-8 -t ASCII badfile > goodfile
      but the goodfile still starts with a question mark... I could use sed to get rid of it, but I can't be sure that there isn't a valid one somewhere else in the file.

      Anybody have any tricks?
      Sampath S
      Basic Member
      Posts: 17
      Basic Member

        Hello Greg,

         

        One of our client is facing the same issue. They are 9.03-Unix AIX. I tried to iconv command but i am getting below error. Any idea like how you fixed the issue. We have some spanish names which we want to convert so that the XML can be easily published without any issues. 

        iconv: 0791-004 cannot open converter