pcb

Gerber export does not handle unicode characters

Bug #1670027 reported by Jiri Cejka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pcb
Triaged
Low
Unassigned

Bug Description

When a pcb file is ready to be exported to Gerber and when it is done the gerber file NAME.fab.gbr does not properly handle unicode characters in Author and Date fields. I found that author value is grabbed from operating system (my is Debian Linux) using pcb_author() function in src/misc.c file and processed into gerber output in src/print.c file. If the username contains some unicode character like üöäÜÄÖßČěščřžáýíéóň etc. there is block character placed into NAME.fab.gbr file instead. The same is in the Date field.

Revision history for this message
Jiri Cejka (jirkacejka) wrote :
Revision history for this message
Chad Parker (parker-charles) wrote :

Thanks for your bug report.

Unfortunately, as you've noted, pcb presently doesn't have the extended character sets. The block that you see is the default symbol used when pcb doesn't have a symbol for the character.

UTF-8 support is something we've been talking about adding, possibly at the same time that we incorporate the improved font branch. But the realization of that may be some time off.

While it's not a real solution, you can at least sort of work around the author problem by using the --fab-author switch on the command line. If you specify --fab-author Yourname without using any extended characters, then you at least don't get the blocks.

--Chad

Changed in pcb:
status: New → Triaged
importance: Undecided → Low
milestone: none → pcb-4.2.0
Changed in pcb:
milestone: pcb-4.2.0 → future-feature-release
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.