Opened 7 years ago

Closed 6 years ago

#558 closed Patches (fixed)

set projects default charset to UTF-8

Reported by: axelcl Owned by: nobody
Priority: 5 Milestone: 1.2.0
Component: PHP Editor Version: 1.2.0-nightly
Keywords: utf-8 Cc:

Description (last modified by ed_mann)

On Windows the default charset for every new PHP project is Cp1252 (eclipse standard)

The attached patch sets the default charset to UTF-8.

Should we introduce this patch into current CVS?
Or are there reasons why a project shouldn't get UTF-8 by default.

Most of the projects I know are UTF-8 based by default.

Change History (5)

comment:1 Changed 7 years ago by pombredanne

Logged In: YES 
user_id=879778
Originator: NO

++ for UTF8. anything else is a potential annoyance :-)

comment:2 Changed 7 years ago by lsces

Logged In: YES 
user_id=175009
Originator: NO

Yep - I'm slowly getting to grips with UTF-8 and it is really the only safe way forward.

comment:3 Changed 7 years ago by nobody

Logged In: NO 

+1 for UTF-8

comment:4 Changed 6 years ago by ed_mann

  • billable set to 0
  • Component changed from None to PHP Editor
  • Description modified (diff)
  • Keywords utf-8 added
  • Milestone set to 1.2.x
  • os_platform set to Linux
  • Version changed from None to 1.2.0-nightly

comment:5 Changed 6 years ago by ed_mann

  • Resolution changed from None to fixed
  • Status changed from assigned to closed

I checked the code inside the project and looks like it is now UTF-8. Also the project will pick up the local default settings.

Note: See TracTickets for help on using tickets.