ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

ANSI to UTF-8 on IFS

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • ANSI to UTF-8 on IFS

    Hi All,

    I?m quite new to this forum. And found this is Forum as awesome.

    My problem is; I have some files in my IFS directory and those are in CSV format and ANSI encoded.
    Ex:- /Applications/Downloads/example1.CSV
    /Applications/Downloads/example2.CSV

    However I need to encode these files to UTF-8 format.

    I was able to change the CCSID from 1252 to 1208 using Q shell and CPY command. But still it?s appearing encoded as ANSI.

    Please note I used the windows NOTEPAD to open the above said CSV files and I did make sure the encoded method following the SAVE AS option.

    I have tried almost every thing according to my little knowledge and end with no result. Any comments would be really really appreciated.
    Thank in advance.

    Sudesh

  • #2
    Re: ANSI to UTF-8 on IFS

    Where do you see the files encoded in ANSI code ?
    Philippe

    Comment


    • #3
      Re: ANSI to UTF-8 on IFS

      Hi,

      I could see it when I open the relevant file from IFS using windows NOTEPAD and followed by the SAVE AS option. Please see the attachment. Any help would be really appreciated.

      Click image for larger version

Name:	ANSI.JPEG
Views:	1
Size:	109.8 KB
ID:	126065










      Sudesh

      Comment


      • #4
        Re: ANSI to UTF-8 on IFS

        Just drop down the encoding listbox, choose UTF-8 instead and you're done.
        Philippe

        Comment

        Working...
        X