Author Topic: How to load UTF8 without BOM(signature) files?  (Read 7309 times)

gyuha

  • Junior Community Member
  • Posts: 3
  • Hero Points: 0
How to load UTF8 without BOM(signature) files?
« on: October 27, 2009, 02:05:05 PM »
Version:14.0.2.2
OS:Win 7

PHP is recommended to use the without BOM(signature).
But, If reading the file in the UTF8 without BOM,
then output broken CJK(Chinese Japanese Korean) characters.

How can I loading UTF8 without BOM files?

Scott H

  • Senior Community Member
  • Posts: 240
  • Hero Points: 9
Re: How to load UTF8 without BOM(signature) files?
« Reply #1 on: October 27, 2009, 03:45:55 PM »
If you use the regular file open dialog (not the Open Tool Window) you will see a drop down box for encoding (see attached screen shot).  Select UTF-8 and your file, and it should open as UTF-8 encoding.

gyuha

  • Junior Community Member
  • Posts: 3
  • Hero Points: 0
Re: How to load UTF8 without BOM(signature) files?
« Reply #2 on: October 28, 2009, 12:55:52 AM »
Version:14.0.2.2
OS:Win 7

Thank for your help..
But, I can see your attached screen shot. see attached screen shot.
I solved this screen shot option.
But, Only open dialog and open by project.
Open file from project or Open file form Workspace... is broken.
« Last Edit: October 28, 2009, 12:59:28 AM by gyuha »

Scott H

  • Senior Community Member
  • Posts: 240
  • Hero Points: 9
Re: How to load UTF8 without BOM(signature) files?
« Reply #3 on: October 28, 2009, 12:34:33 PM »
You're right, "Open file from project" and "Open file form workspace" don't have the option of what encoding to use.  Another option is to set the file encoding for the file types you're opening in the options.  To do this, go to Tools > Options, then expand Languages and select File Extension Manager.  Select the types of files you're using in the list and set their encoding to UTF-8.

gyuha

  • Junior Community Member
  • Posts: 3
  • Hero Points: 0
Re: How to load UTF8 without BOM(signature) files?
« Reply #4 on: October 28, 2009, 03:16:15 PM »
Thank you very much..
Has been resolved.