Opened 10 years ago

Closed 10 years ago

#6968 closed Bugs (fixed)

a character in the boost code not representable in Japanese OS

Reported by: Atsushi Isobe <atsushi_isobe@…> Owned by: Antony Polukhin
Milestone: To Be Determined Component: lexical_cast
Version: Boost Release Branch Severity: Problem
Keywords: boost-1_33_1 Cc:

Description

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

Change History (1)

comment:1 by Antony Polukhin, 10 years ago

Resolution: fixed
Status: newclosed

We have a special page with auto generated reports for such bugs: inspection page. We fix those bugs as soon as we can (or as soon as we remember about the inspection reports page).

Looks like current versions of boost have no problems with Terje Sletteb, so I`m closing this ticket.
Thanks for the report!

Note: See TracTickets for help on using tickets.