OSDN Git Service

Fix failed test
[winmerge-jp/winmerge-jp.git] / Src / codepage_detect.h
1 /** 
2  * @file  codepage_detect.h
3  *
4  * @brief Declaration file for codepage detection routines.
5  */
6 #pragma once
7
8 #include "UnicodeString.h"
9 #include "FileTextEncoding.h"
10
11 /** @brief Buffer size used in this file. */
12 static const int BufSize = 65536;
13
14 FileTextEncoding GuessCodepageEncoding(const String& filepath, int guessEncodingType, ptrdiff_t mapmaxlen = BufSize);