PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 03/19/2020 5:49 AM by  Sampath S
UTF output files and conversion
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Greg Moeller
Private
Private
Veteran Member
(4035 points)
Veteran Member
Posts:1439


Send Message:

--
12/01/2009 11:56 AM

    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
    Private
    Private
    Veteran Member
    (4035 points)
    Veteran Member
    Posts:1439


    Send Message:

    --
    12/01/2009 1:54 PM
    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
    Private
    Private
    Basic Member
    (45 points)
    Basic Member
    Posts:17


    Send Message:

    --
    03/19/2020 5:49 AM

    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

    You are not authorized to post a reply.