eeschema for Windows fails to deal with Cyrillic (Unicode)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Undecided
|
jean-pierre charras |
Bug Description
eeschema fails to load a previously created component with Cyrillic pin names in it, resulting in error message:
error <error 'pin only had 6 parameters of the required 11 or 12' in DRAW command X> occurred at line 4387
Ref and Value fields seem to have no problems with Unicode whatsoever.
Application: eeschema
Version: (2015-08-05 BZR 6055, Git fa29c62)-product release build
wxWidgets: Version 3.0.2 (debug,
Platform: Windows XP (build 2600, Service Pack 3), 32 bit, Little endian, wxMSW
Boost version: 1.57.0
summary: |
- eeschema fails to deal wih Cyrillic (Unicode) + eeschema for Windows fails to deal with Cyrillic (Unicode) |
Changed in kicad: | |
assignee: | nobody → jean-pierre charras (jp-charras) |
status: | New → Confirmed |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
Probably something could fail in the following line of code in bool LIB_PIN::Load( LINE_READER& aLineReader, wxString& aErrorMsg ) call:
i = sscanf( line + 2, "%255s %63s %d %d %d %63s %d %d %d %d %63s %63s", pinName,
pinNum, &m_position.x, &m_position.y, &m_length, pinOrient, &m_numTextSize,
&m_nameTextSi ze, &m_Unit, &m_Convert, pinType, pinAttrs );
http:// bazaar. launchpad. net/~kicad- product- committers/ kicad/product/ view/head: /eeschema/ lib_pin. cpp#L733