On 2017-01-26 12:40 +0000, Toby Speight wrote: > Package: tunnelx > Version: 20160713-3 > Severity: normal > Tags: patch > > Characters outside US-ASCII get corrupted when saving and loading > tunnel sketches. The reason is that each char is simply cast to byte > when saving, and sign-extended to char when loading. I've made a patch > which writes and reads XML numeric character references for characters > not in US-ASCII as declared in the XML declaration. I tested with my > current survey which contains Gaelic names, and hand-edited the XML to > ensure that reading hexadecimal representations works (we always write > decimal). The patch is probably suitable for forwarding upstream. > > Perhaps an alternative approach might be considered - open the output > file with UTF-8 encoding, and change the XML declaration to reflect > that.
bugs - with patches - lovely! Cheers for that. You missed debian stable deadline by about 1 day, and debian is frozen for the time being, so I won't do an upload right now, but will forward to Julian. Wookey -- Principal hats: Linaro, Debian, Wookware, ARM http://wookware.org/
signature.asc
Description: Digital signature