Date: prev next · Thread: first prev next last
2020 Archives by date, by thread · List index


On 09/04/2020 17:21, Miklos Vajna wrote:
One option would be to tweak test_main.py to default to UTF-8, like
Linux does. You could try something like this:

if sys.platform.startswith("win"):
     import _locale
     _locale._getdefaultlocale = (lambda *args: ['en_US', 'utf8'])

Does not make a difference. Neither if I put this at the top of uitest/test_main.py after all the imports, nor if I put it at the top of the "if __name == '__main__':" block.


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.