SuperEdi

User: Guest

Search

Please use the
Bug Report Form
if you think you found a software defect.

Use the Contact Form
to send a personal message to Wolfgang.

RSS Feed RSS Feed

Other boards:
Juke
QBrowser
Raduga (English)
Song Requester

Unable to correctly display UTF-8 text files

Posted on: SuperEdi

From Message

Raymond

2004-12-14 10:31:05

Unable to correctly display UTF-8 text files

Super Editor 3.5U. I have tried to open files encoded in UTF-8 by selecting "Unicode UTF-8" under Encoding in file open dialog box but to no avail. The desired utf-8 texts were all replaced by black boxes.
I have installed 3.5U after repeated attempts with 3.2U failed.
Have i missed out any other required setting to display the UTF text correctly?

Thankyou!

Wolfgang Loch

2004-12-14 17:48:31

Re: Unable to correctly display UTF-8 text files

Your selected font probably can't display the characters. For example, the font "Courier New" on Windows XP contains most European characters, including Cyrillic and Greek. But it does not contain Chinese or Japanese symbols.

If you have a text in Chinese, you should select a font that contains Chinese characters, for example NSimSun or MingLiU. Also change the script to CHINESEBIG5, because the Chinese characters require more space than latin characters.

Raymond

2004-12-15 10:45:57

Re: Unable to correctly display UTF-8 text files

Thanks Wolfgang! It works!

Tai F Wang

2005-02-14 18:57:07

Re: Unable to correctly display UTF-8 text files

I'm having the same problem but there is no CHINESEBIG5 script in the dropdown box. How do I install it?

Wolfgang Loch

2005-02-14 19:23:21

Re: Unable to correctly display UTF-8 text files

For the font "NSimSun" the script is called "CHINESE_GB2312".

If you don't have either of the fonts NSimSun or MingLiU, simply visit any Chinese Internet page. Internet Explorer will prompt you to donwload the Chinese language pack (which includes these fonts).

Anonymous

2005-03-01 15:26:14

Re: Unable to correctly display UTF-8 text files

Why can't I select Arial Unicode as my font?

Wolfgang Loch

2005-03-01 17:51:18

Re: Unable to correctly display UTF-8 text files

That's because SuperEdi works only with fonts that have an equal character width.

Nina

2005-03-11 10:08:35

Re: Unable to correctly display UTF-8 text files

I have a similar problem with Norwegian but it replaces the special norwegian characters not with boxes but with some other letters. Can it be just font problem? The weird thing is that the operating system is windows 2000 in norwegian.
Any help appreciated...

Wolfgang Loch

2005-03-13 19:14:28

Re: Unable to correctly display UTF-8 text files

I think with Norwegian it's something different, because there are no extra-wide characters and they are all included in the Latin-ISO-1 character set.
- When do you get this problem, when you open an existing text file or when you try to type a special letter in SuperEdi?
- Which font do you use?
- Which letters do not work?

Vanina

2005-03-14 11:04:18

Re: Unable to correctly display UTF-8 text files

Hi,

I get this problem when i open an existing text file. I created all my files in Dreamweaver. The font seems to be the system default font. I don't actually get the option to change it in Dreamweaver. Somebody else will have to edit it and this person doesn't have Dreamweaver. That's why i chose SuperEdit since you can edit the text and upload it to a ftp server.

The characters that get transformed are the 3 special characters: å, ø and æ. For instance, ø transforms into this: √∏
I just don't get why it gets changed along the way when opende in another program.

Also, i'd like to add that i'm pulling this text into Macromedia Flash and it has to be saved in UTF 8 in order to be displayed correctly.

Thanks for you help

Vanina

Wolfgang Loch

2005-03-14 14:24:54

Re: Unable to correctly display UTF-8 text files

It appears that Dreamweaver uses some strange character set. I don't think it's UTF8, because ø would become ø if you open an UTF-8 file as Western European (cp1252 = iso-8859-1).

For the text to display correctly you must find out which character set is used by Dreamweaver for storing and then select this encoding when you open the file in SuperEdi. SuperEdi can automatically detect the character set only if it's UTF-8 or UTF-16 with byte-order mark (BOM), for example if the file was saved with Notepad.

Post a reply to this message: