________________________________________ From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of ????? ???????? Sent: Friday, January 19, 2007 10:41 AM To: boost-users@lists.boost.org Subject: [Boost-users] [filesystem] code pages support namespace fs = boost :: filesystem; boost :: intmax_t filesize = fs :: file_size (argv [1]); This causes an exception if the name consists of cyrillic symbols. (Windows XP, MinGW). Does boost :: filesystem support these names. [Nat] Maybe try: boost :: intmax_t filesize = fs :: file_size (fs::path(argv [1], fs::no_check)); This uses an explicit conversion to fs::path rather than an implicit one, which allows you to explicitly disable the path syntax checker. I always disable the path syntax checker. It doesn't even support ASCII names well. ;-)