Subject: [Boost-bugs] [Boost C++ Libraries] #3332: boost::filesystem::path will get trobule in locale Chinese_Taiwan.950 (windows)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-08-11 09:28:19
#3332: boost::filesystem::path will get trobule in locale Chinese_Taiwan.950
(windows)
-------------------------------------------------------+--------------------
Reporter: Ching Yi, Chan <chingyichan.tw@â¦> | Owner:
Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: None
Version: Boost Development Trunk | Severity: Problem
Keywords: encoding cp950 Big5 0x5c |
-------------------------------------------------------+--------------------
My test enviroment is win xp with the default locale Chinese_Taiwan.950.
CodePage 950 which extend the Big5 encoding system is created by ms and
use in Taiwan mostly.
the cause is the cp950 using double-bytes to assemble a word,
but some byte contains \ (0x5c) that also is escape char in c/cpp language
or the file path separator in ms os.
some information about the Big5 encoding system:
http://en.wikipedia.org/wiki/Big5
the attachment is some fix in path.hpp but some cases are lost.
It just check the '\' is a real path separator or a part of Big5 char.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3332> 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:01 UTC