27 Oct
2017
27 Oct
'17
15:03
On Fri, 2017-10-27 at 16:13 +0200, jan matejek wrote:
This could be changed in gtk-doc itself (although that is impractical), but perhaps a better way is to change the default locale for spec scriptlets. Right now the macros set it to C. We could switch that to "C.UTF-8", "en_US.UTF-8", or export a special RPM variable that could be overriden in your spec file. Still, the default should be something with UTF-8 in it.
I support this overall approach of getting it fixed 'high up'. One thing that strikes generally as 'odd' (looking at gtk-doc) is that the python2 variant seemed not to have trouble parsing the same files - but switching to py3 causes trouble. Is python3 itself expecting a .UTF8 locale to be reliably usable? Cheers Dominique