OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef BASE_I18N_I18N_CONSTANTS_H_ | 5 #ifndef BASE_I18N_I18N_CONSTANTS_H_ |
6 #define BASE_I18N_I18N_CONSTANTS_H_ | 6 #define BASE_I18N_I18N_CONSTANTS_H_ |
7 | 7 |
8 #include "base/i18n/base_i18n_export.h" | 8 #include "base/i18n/base_i18n_export.h" |
9 | 9 |
10 namespace base { | 10 namespace base { |
11 | 11 |
12 // Names of codepages (charsets) understood by icu. | 12 // Names of codepages (charsets) understood by icu. |
13 BASE_I18N_EXPORT extern const char kCodepageLatin1[]; // a.k.a. ISO 8859-1 | 13 BASE_I18N_EXPORT extern const char kCodepageLatin1[]; // a.k.a. ISO 8859-1 |
14 BASE_I18N_EXPORT extern const char kCodepageUTF8[]; | 14 BASE_I18N_EXPORT extern const char kCodepageUTF8[]; |
15 BASE_I18N_EXPORT extern const char kCodepageUTF16BE[]; | 15 |
16 BASE_I18N_EXPORT extern const char kCodepageUTF16LE[]; | 16 // The other possible options are UTF-16BE and UTF-16LE, but they are unused in |
| 17 // Chromium as of this writing. |
17 | 18 |
18 } // namespace base | 19 } // namespace base |
19 | 20 |
20 #endif // BASE_I18N_I18N_CONSTANTS_H_ | 21 #endif // BASE_I18N_I18N_CONSTANTS_H_ |
OLD | NEW |