Looking through l10tools there were some ByteString encoding A to
ByteString encoding B things in there, where pragma's in .src files
seemed to in the past indicate their encoding which would then get
converted to MS1252 (or something of that nature)
As far as I could tell, there are no such pragmas still in use in
any .src file, nor was there any way to change the "destination
encoding" away from 1252, so all it could possibly do is convert from
1252 to 1252, i.e. no-op if I read it correctly.
So I removed it all, which allows me to throw out a goodly part of the
old tools ByteString. Now if there *are* any pragmas that control
encodings in .src files generated somehow the l10ntools will bail out
with an exit(-1) and error message, a build here on some random
languages works fine, so just a heads up if I've missed something
obvious.
I imagine that in the real-world the .src files are always in utf-8
format ?
C.
Context
- [Libreoffice] l10ntools ".src" encoding · Caolán McNamara
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.