Hello,
>
> when try
> file_server the
> void file_server::serve_file(std::string file_name)
> not work
> well
> the file_name get not a vaild path it is a slash
> code
> eg.
> file_name = "�������|��|"
>
Unfortunalty I can't read the text you had given,
What is the text encoding? What is written there?
Also, note, Windows has not UTF-8 support for Unicode path
names, so at this point only local 8-bit encodings are supported.
Artyom
P.S.: What compiler do you use?
P.P.S.: Be aware that CppCMS 1.x.x is very unstable version
and it is very likely that you would observe lots of bugs..
|