Unicode chars and schemedef

Discussion Forums discussion Unicode chars and schemedef

This topic contains 0 voices and has 2 replies.

Viewing 3 posts - 1 through 3 (of 3 total)
Author Posts
Author Posts
February 21, 2006 at 8:25 am #29

wvdirks
Member

Seems to me that the schemes made with a schemedef cause PN2 to have problems displaying Unicode text. For example,

- Start a new file in PN2

- paste in Euro symbol € U+20AC

- make sure the encoding is UTF8 or 16

- save as a file name

- reload

- You may have to paste again and save

- Change the scheme from any scheme to VHDL and watch the new char appear after the Euro.

This is happening with other schemedefs I’m working on.

Is there something wrong with the VHDL schemedef that’s causing this or is it PN2?

February 21, 2006 at 11:54 am #14868

simon
Key Master

There are a couple of issues with the unicode support in PN2 in the current build.

The best way to get it into UTF-8 entry mode is to load a file with UTF-8 selected as the encoding. You should now be OK to load and save as you like. If you just switch to UTF-8 while editing, this will not put the control into the unicode editing code page which can lead to some weirdness.

I have already fixed some problems related to this for the next version.

February 21, 2006 at 11:56 am #14869

simon
Key Master

Also, setting your default encoding to UTF-8 in the Options|Defaults page will help.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.