On 7/3/2025 7:35 PM, Stephan Bergmann wrote:
   + bug on windows with meson/python if environment contains value with "ü"      + e.g. https://ci.libreoffice.org/job/gerrit_windows/200488/console#:~:text=codec%20can%27t%20decode%20byte%200x81      + if someone is familiar with python charsets/any idea why it ends up as 0x81 despite codepage 1252 being detected as default locale/UTF-8 is used in terminal…
       sys.stdin.encoding --> 'utf-8',
       locale.getpreferredencoding(do_setlocale=False) --> 'cp1252'
       + to reproduce: export FOO=ü and make harfbuzz
     + workaround in jenkins: unset GERRIT/GIT author variables


I don't know how specifically does this mix behaves (cygwin -> python -> cmd); but the attached patch fixes the repro command locally for me.


--

Best regards,

Mike Kaganski

Reply via email to