Subject: [Boost-bugs] [Boost C++ Libraries] #6968: a character in the boost code not representable in Japanese OS
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-06-06 10:35:38
#6968: a character in the boost code not representable in Japanese OS
----------------------------------------------------+-----------------------
Reporter: Atsushi Isobe <atsushi_isobe@â¦> | Owner: apolukhin
Type: Bugs | Status: new
Milestone: To Be Determined | Component: lexical_cast
Version: Boost Release Branch | Severity: Problem
Keywords: boost-1_33_1 |
----------------------------------------------------+-----------------------
Hi,
I am using Windows 7 Japanese OS, with VS2010.
Boost version is 1_33_1, I think.
When I compile a project that uses boost, I get the following warnings.
C:\_Applied\AP.v10.0.3.3.Win32\asap\include\boost/lexical_cast.hpp :
warning C4819: The file contains a character that cannot be represented in
the current code page (932). Save the file in Unicode format to prevent
data loss
c:\_applied\ap.v10.0.3.3.win32\asap\include\boost/type_traits/is_base_and_derived.hpp
: warning C4819: The file contains a character that cannot be represented
in the current code page (932). Save the file in Unicode format to prevent
data loss
When I check the code, turns out that a guy named Terje Sletteb? (the
letter after the b is garbage character in a Japanese OS) is using
a special character that is not handled in a Japanese OS (code page 932).
How can I get rid of this warnings?
1. save the boost files in Unicode 1200 using VS2010
2. can future boost library codes be saved in Unicode from the start?
I wish you can do option2.
Thank you,
Atsushi
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6968> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:09 UTC