[Therion] Survex (loop closure) related fixes

Benedikt Hallinger beni at hallinger.org
Wed Oct 14 20:34:15 CEST 2020


Hey Martin,
thanks for responding.
The exact same dataset compiles well with 5.5.1.
As far as i know, no special characters are used here.

As its rather huge, and i have no idea how to reduce the problem. It 
surely must be somewhere in the .th2 files "author", since that is 
probably the only place where this gets gathered from, isn't it?

I enhanced the thtexfonts.cxx on line 247 to print out the offending 
string (if you want i make a PR for that) that now shows something 
looking like garbage:
   ./therion: error -- Invalid utf-8 string! (offending string: 'P]���U')


I probably need to wade trough the data manually.


Am 2020-10-14 20:04, schrieb Martin Budaj:
> On Wed, Oct 14, 2020 at 10:38 AM Benedikt Hallinger
> <beni at hallinger.org> wrote:
> 
>> When trying to compile a specific plan map view PDF i get an error
>> about
>> UTF8. The compile runs fine with release-therion 5.5.1, however!
>> (i don't know if this is related)
> 
> Hi, there was no change in the processing of utf-8 strings between
> 5.5.1 and 5.5.2. Could you check the same data set is used by those
> versions?
> 
> You should get this error if you use a unicode character outside of
> the BMP (see
> https://en.wikipedia.org/wiki/Plane_(Unicode)#Basic_Multilingual_Plane).
> Do you such exotic characters?
> 
> Sending a minimal data sample would be helpful.
> 
> M.
> _______________________________________________
> Therion mailing list
> Therion at speleo.sk
> https://mailman.speleo.sk/listinfo/therion



More information about the Therion mailing list