
We are getting warnings when trying to compile Boost source files with MSVC 2003 and 2005 when there are high-ASCII characters in the sources. The reported problem only shows up when the computer's region is set to Japanese, but there could be other affected regions as well.
Boost/1.33.0/boost $ file *.hpp | grep -v ASCII lexical_cast.hpp: ISO-8859 C++ program text multi_index_container_fwd.hpp: ISO-8859 C program text multi_index_container.hpp: ISO-8859 C program text progress.hpp: ISO-8859 C++ program text property_map_iterator.hpp: ISO-8859 C++ program text ref.hpp: ISO-8859 C++ program text token_functions.hpp: ISO-8859 C++ program text tokenizer.hpp: ISO-8859 C++ program text
Has anyone else seen this problem? Are there other potential fixes other than removing all high-ASCII characters from the source files?
Perhaps converting the boost headers into utf-8, rather than a mixture of ASCII and ISO-8859, would be more region-neutural. I don't know if boost has standardised on an encoding, but being Latin-1 centric is probably not necessary or intentional. Nigel