Apple Win code too:
http://trac.webkit.org/browser/trunk/WebKitTools/DumpRenderTree/win/DumpRenderTree.cpp#L686

Gtk too:
http://trac.webkit.org/browser/trunk/WebKitTools/DumpRenderTree/gtk/DumpRenderTree.cpp#L390
(since Gtk supposedly uses utf8 for all of its strings)

And Qt:
http://trac.webkit.org/browser/trunk/WebKitTools/DumpRenderTree/qt/DumpRenderTreeQt.cpp#L752

I think I've answered my own question.  Thanks.


On Fri, Apr 23, 2010 at 2:39 PM, Eric Seidel <[email protected]> wrote:
> Am I correct that all text output from DumpRenderTree should be utf-8
> (thus all expected.txt files as well)?
>
> The Mac Code appears to use utf-8:
> http://trac.webkit.org/browser/trunk/WebKitTools/DumpRenderTree/mac/DumpRenderTree.mm#L1091
>
> Obviously it also will spit raw bytes (like webarchives and pdf files)
> over stdout as well.
>
> I just want to confirm with the community that utf-8 for all
> -expected.txt files is expected behavior?
>
> -eric
>
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to