Forums
Hi,
I have loads of javascript files in a project folder for IceBreak: all files are created with Sublime and contains UTF-8 chars, however, when I upload to the IFS on the deployment system it seems the CCSID is set to windows 1252. So can I change the CCSID to 1208?
Re: Setting BOM-code in for all UTF-8 files in IceBreak
Hi,
What you can do is to ensure that each JavaScript file (or HTML/any other file for that matter) has the BOM code escape for UTF-8.
In the IceBreak folder you will find it at “tools/shell” where you can find setbom.sh
So what you can do is this:
From ssh or qsh enter:
find /www/dev/dmo/admin/ip2/ -name "*.js" | /icebreak/tools/shell/setbom.sh
Best regards,
Niels Liisberg