Recommendations for a free PHP editor that supports Unicode

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
voltrader
Forum Contributor
Posts: 223
Joined: Wed Jul 07, 2004 12:44 pm
Location: SF Bay Area

Recommendations for a free PHP editor that supports Unicode

Post by voltrader »

I've been using PHP Designer 2005 for about a year. It has a nice UI, comes in a small footprint, is free, and did all that I needed, except it doesn't seem to display unicode correctly.

Can anyone recommend another free or cheap editor that has a unicode display option?

I'm currently using notepad for unicode code, and it can get a little mind-numbing.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

phpDesigner 2006 has unicode support, however not entirely complete..
Gambler
Forum Contributor
Posts: 246
Joined: Thu Dec 08, 2005 7:10 pm

Post by Gambler »

Uh... JEdit?
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

Be sure to check out the Editor thread in the General forum section.
User avatar
voltrader
Forum Contributor
Posts: 223
Joined: Wed Jul 07, 2004 12:44 pm
Location: SF Bay Area

Post by voltrader »

Thanks -- will do.

I'm guessing the "Uh... JEdit?" question to my question means that JEdit supports unicode and I should've known about it.
User avatar
AKA Panama Jack
Forum Regular
Posts: 878
Joined: Mon Nov 14, 2005 4:21 pm

Post by AKA Panama Jack »

Well, if you want one of the slowest editors known to man then you can use jEdit.

It is written completely in Java and its slow, especially when you are working on large software packages.
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

viewtopic.php?t=41009

(took me a bit of digging to find it)
User avatar
voltrader
Forum Contributor
Posts: 223
Joined: Wed Jul 07, 2004 12:44 pm
Location: SF Bay Area

Post by voltrader »

Excellent -- thanks folks.

And the link is much appreciated Ambush Commander.

It looks like notepad - gah! - is the editor of choice for utf-8.

What is "BOM"?
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

BOM = Byte Order Mark. In most discussion regarding UTF-8, it is an abomination that must be eliminated. It is important for UTF-16 though. http://www.w3.org/TR/2004/REC-xml-20040 ... c-guessing is a bit useful for recognizing BOMs (even though it is not normative).

Personally, the actual PHP files shouldn't have any special characters in them. It indicates and internationalization attempt, and that's best factored into it's own set of files.
BMN
Forum Newbie
Posts: 15
Joined: Fri Aug 12, 2005 10:54 pm

Post by BMN »

User avatar
voltrader
Forum Contributor
Posts: 223
Joined: Wed Jul 07, 2004 12:44 pm
Location: SF Bay Area

Post by voltrader »

Thanks!

This is certainly an upgrade to notepad -- foreign characters at least appear as boxes.

I also see a greyed-out "UTF-8 without BOM", so that satisfies one of Ambush Commander's criteria.
Ree
Forum Regular
Posts: 592
Joined: Fri Jun 10, 2005 1:43 am
Location: LT

Post by Ree »

Editplus is a great editor with code completion and unicode support. You should really check it out.

http://www.editplus.com/
User avatar
voltrader
Forum Contributor
Posts: 223
Joined: Wed Jul 07, 2004 12:44 pm
Location: SF Bay Area

Post by voltrader »

Ree wrote:Editplus is a great editor with code completion and unicode support. You should really check it out.

http://www.editplus.com/
Thanks ree -- in this case, it looks like you really do get what you pay for. I'll give it a try.
Gambler
Forum Contributor
Posts: 246
Joined: Thu Dec 08, 2005 7:10 pm

Post by Gambler »

Well, if you want one of the slowest editors known to man then you can use jEdit.
Java 1.5 + 512MB of ram + JEdit = fast.
Post Reply