php editor that supports unicode/utf-8

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
newmember
Forum Contributor
Posts: 252
Joined: Fri Apr 02, 2004 12:36 pm

php editor that supports unicode/utf-8

Post by newmember »

I tried tons of editors, some i found through googling and many found reading relevant threads on this forum...but until now i found ONLY 2 editors that really support unicode.
1. EmEditor... - but it has big disadvantage for me... no tabed view...it is a problem for me because i open at least 10 files at the same time...
2. windows notepad :) - but it is not convinient at all.

i'll gonna use different languages in my site like hebrew for example...
and none of editors i tried (exept EmEditor) displayes characters properly...
sometimes i see some other letters and sometimes i see only question marks...
some of editors i tried are:
ultraedit-32
homesite
winsyntax
phped
dev-php ide
notepad++
phpedit
dzsoft php editor
crimson editor
vim (has keyboard map switch which doesn't work,at least for hebrew despite claiming it to be hebrew keyboard map)
php coder
editplus
pspad
zend studio - actually didn't check if it supports unicode because i don't like it anyway...too big, too slow for my comp and needs time to get use to
and others...

i don't want bombastic editors like zend studio...or macromedia suit
I need 3 main features:
1. unicode support
2. syntax highlighting for php/html/css/js
3. tabbed view

if anyone knows about such program please let me know...
thanks
P.S.
(right now i'm using dev-php ide but many of the editors i mentioned above are pretty good at least for the first sight)
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

have you tried Activestate Komodo? Built on the Mozilla engine it should have unicode support.
Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Re: php editor that supports unicode/utf-8

Post by Roja »

newmember wrote:i'll gonna use different languages in my site like hebrew for example...
and none of editors i tried (exept EmEditor) displayes characters properly...
sometimes i see some other letters and sometimes i see only question marks...
I'll echo what Weirdan said - Komodo should do it for you.

However, seeing question marks isn't always a sign that the app doesnt support the language - it can also mean you havent installed the support for that language in the OS.

You mentioned notepad being unicode compliant, but it depends on the version of notepad. Prior to XP, it only displays unicode correctly if the file includes the byte-order-mark, or you put it in the file. Further, you have to save it in unicode format - saving to ansi loses the BOM, and when you reopen it, it will be in the system language page.

Finally, I know for a fact that Crimson editor, which you listed, DOES do unicode - I use it for it. :)

http://www.crimsoneditor.com/english/do ... tml#docu09

You just have to set the right command.
d_d
Forum Commoner
Posts: 33
Joined: Wed Jul 07, 2004 4:56 pm
Location: UK

Post by d_d »

Tried Programmers Notepad?
Has unicode support, syntax highlighting and tabs.
http://www.pnotepad.org/
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

d_d wrote:Tried Programmers Notepad?
Has unicode support, syntax highlighting and tabs.
http://www.pnotepad.org/
Looks interesting. I'm going to give that a go. :)
User avatar
newmember
Forum Contributor
Posts: 252
Joined: Fri Apr 02, 2004 12:36 pm

Post by newmember »

thanks guys
emeditor do have tabbed view but it swallows ram
tried komodo but this program needs powerfull computer otherwise it very slow
i will try pnotepad

thanks
User avatar
newmember
Forum Contributor
Posts: 252
Joined: Fri Apr 02, 2004 12:36 pm

Post by newmember »

i tried pnotepad and it also lakes unicode support...
at least it doesn't display hebrew correctly:(
User avatar
newmember
Forum Contributor
Posts: 252
Joined: Fri Apr 02, 2004 12:36 pm

lack of hebrew support

Post by newmember »

Hi
I still didn't find any php editor that displays and handles hebrew properly.

Some relevant info:
(windows xp + 3 languages: english,russian,hebrew + OEM codepage is russian)

I mentioned in first post emeditor that is the only one that can display hebrew but it handles it wrongly: no directionality and if you select hebrew text you get some wierd characters appear in the selection.
In fact emeditor forums admit that hebrew support is only partitial.
(in reality it is very very very bad...)

I did 2 simple test.
- First, i just open a new document, switch to hebrew and type some text...90% of editors display russian characters(i guess they use oem codepage) and other 10% show question marks or gybrish.

- Second, i create a utf-8 text file with hebrew text and save it (with or without BOM).
when i open this file in 90% of editors i see some strange gybrish characters (from upper range of ascii table) and other 10% show question marks.
for example, when i open such file in crimson editor i see only question marks no matter what i choose in "Reload As" option.


The last thing i want to say is that all these application support unicode only partitially and may work with some character sets and encodings...
I'm talking here only about lack of support for hebrew(probably with arabic the same story).
So, if anyone here writes hebrew please tell me what tool does he use....
Thank you
User avatar
evilmonkey
Forum Regular
Posts: 823
Joined: Sun Oct 06, 2002 1:24 pm
Location: Toronto, Canada

Post by evilmonkey »

Do you need one for russian or hebrew? Why are you programming in those languages anyway? (Or is that for comments?)

EDIT: I see you need Hebrew. Sorry, can't help you there.

PRIVET RUSSKIM V ISRAELE!
wyred
Forum Commoner
Posts: 86
Joined: Mon Dec 20, 2004 1:59 am
Location: Singapore

Re: php editor that supports unicode/utf-8

Post by wyred »

Roja wrote: Finally, I know for a fact that Crimson editor, which you listed, DOES do unicode - I use it for it. :)

http://www.crimsoneditor.com/english/do ... tml#docu09

You just have to set the right command.
Which version of Crimson Editor are you using? I'm using the latest and still can't get it to work. I'm trying to enter Japanese characters and end up with question marks. I've already set the encoding type to unicode, and also tried UTF-8. Also changed screen fonts to something compatible like Ms Mincho.
User avatar
anjanesh
DevNet Resident
Posts: 1679
Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India

Post by anjanesh »

Is there any editor where I enter non-english characters - specific language - and on the click of a button it gets converted to its entity codes so that I can copy-paste into my plain text editor which I prefer to use ?
Post Reply