Lexer::StringifyWithAddedEscape already exists; it's called
raw_ostream::write_escaped.

And please rebase this against trunk.

-Eli


On Wed, Sep 11, 2013 at 12:07 PM, Yunzhong Gao <
[email protected]> wrote:

>
>   > > This is part of a bigger effort to support foreign characters in
> file names.
>
>   This sentence is merely to give a background of this patch, which is
> only the second of six patches...
>   I am particularly interested in supporting Japanese shift-jis encoding
> (windows code page 932)
>   on Windows. On these systems, #include directives will use UTF-8
> encoding but file names on
>   command prompt will use shift-jis encoding. Both will be translated to
> UTF-16/unicode before
>   making system calls to the underlying file system.
>
> http://llvm-reviews.chandlerc.com/D1291
> _______________________________________________
> cfe-commits mailing list
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to