[Gerbv-devel] [ gerbv-Bugs-2983716 ] Gerbv 2.4 open layer
Brought to you by:
spetm,
thepurlieu
From: SourceForge.net <no...@so...> - 2010-04-08 15:59:09
|
Bugs item #2983716, was opened at 2010-04-08 08:35 Message generated for change (Comment added) made by petercjclifton You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=409538&aid=2983716&group_id=33921 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: cfdev (cfdev) Assigned to: Nobody/Anonymous (nobody) Summary: Gerbv 2.4 open layer Initial Comment: Hi everybody, Gerbv 2.4 crash when I try to open an gerber file with name " é " not unicode support ? this tool is very good! ;) ++ ---------------------------------------------------------------------- >Comment By: Peter Clifton (petercjclifton) Date: 2010-04-08 15:59 Message: Other interesting facts to know... Linux / *nix / Windows? If Linux / *nix, what is the encoding your file-system is using? Most modern systems are UTF-8, but if it is an old file-system, it might be something else. That can cause issues. GLib deals in system-encoded names, so if you filesystem is ISO 8859-1, it can cause problems if gerbv is assuming filenames can be printed as UTF-8. All GTK things need UTF-8, and you need to use the appropriate filename conversion routines in GLib. Similarly - althoguh one I'm not so sure how to fix, is that you should printf translated (or all) strings in the correct encoding that the terminal is using. Since gerbv is a GUI app, it will be using UTF-8 internally, but that might not be correct for printf to a console. Fortunately though (or is it?), most consoles / filesystems are UTF-8 encoding now-adays, so these bugs are likely to linger without causing any harm. (Same in geda/gschem, libgeda etc...) ---------------------------------------------------------------------- Comment By: Julian Lamb (thepurlieu) Date: 2010-04-08 13:24 Message: Hello, Thanks for the bug report. Unfortunately, I can't seem to replicate the crash when I make a test file with "é" in the name. Could you possibly attach the particular file to this bug report so I can see what is causing it? It may be due to something inside the file. If the file contains sensitive material, you can also email it to me directly at the...@gm..., if you don't want to make it public. Thanks, Julian ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=409538&aid=2983716&group_id=33921 |