Boost logo

Boost Users :

Subject: Re: [Boost-users] Problem with the filesystem::exists()
From: Brian Budge (brian.budge_at_[hidden])
Date: 2011-09-26 11:40:27


On Mon, Sep 26, 2011 at 6:53 AM, Danilo da Silveira Figueira
<danilo_at_[hidden]> wrote:
> Hi folks,
>
> I´m stuck with an problem, when i try pass an accentued string to exists
> method:
>
> When i wrote in the code "C:\\ó.txt" and the file is under ANSI codification
> the function exists return true.
>
> But when i ask the input to the user the function return false.
>
> Ps: wstring in the basic_path template dont fix this.
>
> If someone know how and have a time to help me i will be very grateful
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>

Which operating system? And what is the encoding when you ask for user input?

  Brian


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net