¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Pango error messages #fldigi


 

¿ªÔÆÌåÓý

I had a quick look. There are quite a lot of degree signs coded in string literals and these will be the extended ASCII 0xB0 rather than the UTF-8 U+00B0 ("\302\260"). One of the files was "coordinates.cxx" (IIRC) in the << operator. The others were large menu_items as part of a special character list.

Phil.


From: [email protected] <[email protected]> on behalf of Philip Rose, GM3ZZA via groups.io <gm3zza@...>
Sent: Friday, March 29, 2024 11:02 PM
To: [email protected] <[email protected]>
Subject: [linuxham] Pango error messages #fldigi
?
I compiled fldigi from 4.2.04.05 using the then latest fltk 1.4 on debian bookworm and I keep getting the following warning:

(process:21094): Pango-WARNING **: 22:50:00.323: Invalid UTF-8 string passed to pango_layout_set_text()

From my own experience this is when an extended ASCII character is used rather than its UTF-8 equivalent. I noticed today as I hovered over a callsign the tooltip window came up and displayed latitude and longitude with the degree symbol replaced by the black diamond used for an unprintable character. At the same time the pango warning came up.

If you want I can look at the fldigi code tomorrow.

73 Phil.





Join [email protected] to automatically receive all group messages.