• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef ENCODINGS_COMPACT_LANG_DET_WIN_CLD_UTF_H_
6 #define ENCODINGS_COMPACT_LANG_DET_WIN_CLD_UTF_H_
7 
8 #if !defined(CLD_WINDOWS)
9 
10 //#include "third_party/utf/utf.h"
11 
12 #else
13 
14 enum {
15   UTFmax        = 4,            // maximum bytes per rune
16   Runesync      = 0x80,         // cannot represent part of a UTF sequence (<)
17   Runeself      = 0x80,         // rune and UTF sequences are the same (<)
18   Runeerror     = 0xFFFD,       // decoding error in UTF
19   Runemax       = 0x10FFFF,     // maximum rune value
20 };
21 
22 #endif
23 
24 #endif  // ENCODINGS_COMPACT_LANG_DET_WIN_CLD_UTF_H_
25