<div dir="ltr"><div><div><div><div><div><div><div><div>Hi all,<br><br></div>I am having some issues with locales. And rejections from all over.<br><br></div>Sorry, I wish I would have started on this list for some context.<br><br></div>Here is a snippet of the main conversation. My woes are below.<br><br><span class="im">> > Adding --build-id to LINK_FLAGS did not seem to help. I have narrowed it<br>
> > down to kconfig_compiler auto generates some cpp files. The offending line<br>
> ><br>
> > mTemplateString, QString::fromUtf8( "ᐅ %title% by %artist% from %album%<br>
> > [%player%]" ) );<br>
> ><br>
> > This is placing whitespaces in front on build 1 and trailing on the second<br>
> > build. Is this a locale issue or ? hints please, I have been fighting this<br>
> > one all day lol. Seems like that symbol might be issue? I am not a<br>
> > programmer, well not yet.<br>
<br>
</span>you are right with your assumption that it is locale-related.<br>
The second build has an additional 0xe19085 at the beginning,<br>
which is a unicode character (triangle pointed to the right [1][2]):<br>
The first build is running in a non-<span class="">utf8</span> locale, in which the<br>
kconfig_compiler seems to drop unicode characters.<br>
(The zeroes at the end of the diff is probably just some padding to fill<br>
it up to a certain length.)<br>
<br>
I didn't check kconfig_compiler itself yet, but it probably has<br>
to be fixed there.<br>
<br>
Kind regards,<br>
Reiner<br>
<br>
[1]: <a href="http://www.decodeunicode.org/en/u+1405" rel="noreferrer" target="_blank">http://www.decodeunicode.org/en/u+1405</a><br>
[2]: <a href="https://sources.debian.net/src/choqok/1.5-5/plugins/nowlistening/nowlisteningsettings.kcfg/#L11" rel="noreferrer" target="_blank">https://sources.debian.net/src/choqok/1.5-5/plugins/nowlistening/nowlisteningsettings.kcfg/#L11</a><br><br><br></div><div>Setting export LC_ALL=C.UTF-8 in debian/rules works but rejected as "hackish" so after further investigation...<br><br></div>Yes, it is kconfig_compiler<br><br></div>And adjusting the code there to encode utf-8 worked and made the build reproducible. However,<br></div>I now have upstream questioning why is locale not set in one of the builders? I need a good explanation and if possible the settings of these builders?<br><br></div>Thanks for any help,<br></div>Scarlett <br></div>