diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-06-05 09:54:00 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-06-05 14:23:07 +0000 |
commit | e98ba9dfa243d7c9cba248c39c38473c5b9d1a4e (patch) | |
tree | 53589c8b6e0c34694b108ebece619eab07b9803d /xfa/fxfa/parser/cxfa_localemgr.cpp | |
parent | 6c5ea100a7d2531576037b17d5631dde42846b84 (diff) | |
download | pdfium-e98ba9dfa243d7c9cba248c39c38473c5b9d1a4e.tar.xz |
More CFGAS_FormatString tests
This CL adds more tests for various CFGAS_FormatString methods. A few
bugs are fixed up along the way.
Change-Id: Ida1f2792d1bd72f4f52b3c7cc1ff0022b6f45fda
Reviewed-on: https://pdfium-review.googlesource.com/6179
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_localemgr.cpp')
-rw-r--r-- | xfa/fxfa/parser/cxfa_localemgr.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xfa/fxfa/parser/cxfa_localemgr.cpp b/xfa/fxfa/parser/cxfa_localemgr.cpp index fbb12e2b48..e9b47e7921 100644 --- a/xfa/fxfa/parser/cxfa_localemgr.cpp +++ b/xfa/fxfa/parser/cxfa_localemgr.cpp @@ -36,6 +36,13 @@ #define FX_LANG_es_LA 0x080a #define FX_LANG_es_ES 0x0c0a +// These arrays are the hex encoded XML strings which define the locale. +// <locale name="en_US" desc="English(America)"> +// <calendarSymbols name="gregorian"> +// <monthNames> +// <month>January</month> +// <month>February</month> +// ... const uint8_t g_enUS_Locale[] = { 0x78, 0x9C, 0x95, 0x56, 0xD1, 0x6E, 0x9B, 0x30, 0x14, 0x7D, 0x9F, 0xB4, 0x7F, 0x40, 0xD6, 0x2A, 0xB5, 0x52, 0x56, 0x6F, 0x8F, 0xA9, 0x88, 0xA5, |