03-01-2007 06:29 PM
We have a problem with some xml files, that are created automatically from an application, but are not saved in UTF-8 encoding. Unfortunatelly, we do cannot modify the application.
So, we download them using ftp, edit them with notepad and save them as utf-8. Then we upload them to HP-UX and they are ok.
Can anyone suggest any script for automatic conversion to UTF-8 inside the HP-UX, instead of the manually procedure?
Solved! Go to Solution.
03-01-2007 07:30 PM
you have missed out a very important point: What is the original format ?
At this point I can only suggest GNU recode, av ailable free in HPUX porting Archive.
03-01-2007 08:04 PM
sorry, I assumed you had already looked at iconv.
If iconv can handle the input and output character set then yes, use iconv as per example on man page.
03-05-2007 07:46 PM
how are you getting on with this problem ?
Did my suggestions help ?
If this problem is fixed, could you please complete the thread by awarding points to helpful answers and summarising the solution for you.
This will help resolution of similar problems in the future.