Could you please specify a little further where you expect unicode support, such as
- property names
- free text
- net names
- constraint classes
and for which specific use cases?
Mainly for property values in DxDesigner and DxDatabook (e.g. "manufacturer name", degree sign).
But I assume if software supports unicode it means support for any string that user can enter.
We are having a slight problem with Unicode text in symbol properties. In our database we have "90°" and "0°" (degree sign). I am in the US, and this is working fine. In our China tech center, when they place the symbol by DxDataBook, they get a property value of "90??" or "0??" and validation blows up on the part. (currently using XP at both locations)
Anyone know why this happens, and what to do to fix it???
You can use following perl utility to recode your database file in utf-8:
my($vFileTmp)=$vFile . "Tmp";
my($vFileBak)=$vFile . "Bak";
my($vLine) = "";
if (-e $vFile)
open(FILE,"$vFile") || die("can not open $vFile");
open(FILETMP,">$vFileTmp") || die("can not open $vFileTmp");
while($vLine = <FILE>)
#$vLineTmp = Encode::decode("Ascii", $line);
$vLineTmp = encode ("utf-8",decode("gbk",$vLine));#
printf FILETMP ("$vLineTmp");
But the database file is binary, isn't it?
At least in EE7.9.1. Has that changed?
In any case I'd be really careful before I tried that. Not least because I have no idea how the iCDB-Server or the point tools (DxD, CES) will react to it.
Would that work at both ends, when we pass it back and forth? (USA and China) And what "database" is this code modifying?
Sorry. I don't test it on your case, but think it may be useful to your quesiton. The perl program is intended to re-code text file as utf-8 coding, I have use this method to make Mentor's VisECAD be able to display Chinese Characters. You may try to use this perl program to re-code your symble file to see if it's valid.
I've just tried to insert some unicode characters into a text box on a DxDesigner sheet. Doesn't work.
I guess, if you want some reliable information you are better off opening a SR.
Lots of Greetings!
this would be the right approach.
It is important for the product team to understand the use cases, to review what is a bug or a future requirement that needs to be properly prioritized.
Currently there are also no ideas on unicode support posted on Mentorideas. This may be a useful additional venue as well.
Volker, How are you entering this information. Using Windows 7, if I hold Alt and enter the decimal number of the code, with or without leading zeros the data is entered into the property box. Alt 48 enters "0" in the Properties dialog and Add Properties dialog in DxDesigner.
Alt+48 works too.
If there is an issue with unicode, contact support or enter a use case into the DxDesigner Ideas site at http://mentorideas.brightidea.com/ so that there can be an improved discussion.
I entered them by
- loading http://techblog.7d0.de/wp-content/uploads/utf8_sorted.html in my browser
- Copying out some of the symbols found there
- starting a new text block on a DxDesigner sheet
- pasting the symbols into the Text Properties dialog (symbols show up correctly)
- clicking "ok" (question marks appear on the sheet instead of the symbols)
Using the Alt key didn't work. I can copy-paste the Smiley into the dialog but Alt+2639 doesn't work. Should it?
artsiom.shchatsko , just out of curiosity, have you filed an SR?
We currently have no need for Unicode, I'm just butting in here because we are switching to Unicode for some other files and I've learned a bit about it from that project.
Lots of Greetings!