Tornado 6.5 Documentation
detected automatically (among UTF-8 and UTF-16) if the file contains a byte-order marker (BOM), defaulting to UTF-8 if no BOM is present. Example translation es_LA.csv: "I love you","Te amo" "%(name)s liked "singular" Changed in version 4.3: Added encoding parameter. Added support for BOM-based encoding detection, UTF- 16, and UTF-8-with-BOM. tornado.locale.load_gettext_translations(directory: str, domain: str) load_translations now accepts encodings other than UTF-8. UTF-16 and UTF-8 will be detected automatically if a BOM is present; for other encodings load_translations has an encoding parameter. tornado.locks • Lock0 码力 | 272 页 | 1.12 MB | 2 月前3Tornado 6.5 Documentation
detected automatically (among UTF-8 and UTF-16) if the file contains a byte-order marker (BOM), defaulting to UTF-8 if no BOM is present. Example translation es_LA.csv: "I love you","Te amo" "%(name)s liked "singular" Changed in version 4.3: Added encoding parameter. Added support for BOM- based encoding detection, UTF-16, and UTF-8-with-BOM. tornado.locale.load_gettext_translations(directory: str [https://docs load_translations now accepts encodings other than UTF- 8. UTF-16 and UTF-8 will be detected automatically if a BOM is present; for other encodings load_translations has an encoding parameter. tornado.locks Lock and0 码力 | 437 页 | 405.14 KB | 2 月前3
共 2 条
- 1
相关搜索词