Opened 8 years ago

Closed 5 years ago

#10091 closed Bugs (duplicate)

compile alt_sstream_impl.hpp got warning C4819 under MSVC

Reported by: Jia-Jium Lee <jjlee3@…> Owned by: Samuel Krempp
Milestone: Boost 1.63.0 Component: format
Version: Boost 1.55.0 Severity: Problem
Keywords: Cc:

Description

I got a C4819 warning as below. This bug was in there even since boost 1.33.1 or earlier. This problem occurs in different version of VC++ and different Windows.

4>D:\Code\boost\include\boost-1_55\boost/format/alt_sstream_impl.hpp : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode

It is cause by the comment "operation guaranteed by 27.4.3.2 table 88 ".

If you check it by a binary editor, there is a codepoint 0xA7 before "27.4.3.2". That codepoint will cause a problem in codepage 950 (Taiwan), 932 (Japan), 936 (China), 949 (Korea) under Windows.

The http://stackoverflow.com/questions/10501634/warning-c4819-how-to-find-the-character-that-has-to-be-saved-in-unicode described the same problem.

Change History (1)

comment:1 by James E. King, III, 5 years ago

Milestone: To Be DeterminedBoost 1.63.0
Resolution: duplicate
Status: newclosed

Duplicate of #12691

Note: See TracTickets for help on using tickets.