Changeset 167669 in webkit


Ignore:
Timestamp:
Apr 22, 2014 11:12:56 AM (10 years ago)
Author:
Gustavo Noronha Silva
Message:

[GTK] Fails to build documentation when output is redirected
https://bugs.webkit.org/show_bug.cgi?id=131178

Reviewed by Martin Robinson.

  • gtk/generate-gtkdoc: set the output for stdout and stderr to UTF-8

explicitly to avoid encoding issues when they are redirected.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r167667 r167669  
     12014-04-22  Gustavo Noronha Silva  <gns@gnome.org>
     2
     3        [GTK] Fails to build documentation when output is redirected
     4        https://bugs.webkit.org/show_bug.cgi?id=131178
     5
     6        Reviewed by Martin Robinson.
     7
     8        * gtk/generate-gtkdoc: set the output for stdout and stderr to UTF-8
     9        explicitly to avoid encoding issues when they are redirected.
     10
    1112014-04-22  ChangSeok Oh  <changseok.oh@collabora.com>
    212
  • trunk/Tools/gtk/generate-gtkdoc

    r166584 r167669  
    2020
    2121import argparse
     22import codecs
    2223import common
    2324import glob
     
    2728import sys
    2829import webkitdom
     30
     31sys.stdout = codecs.getwriter("utf-8")(sys.stdout)
     32sys.stderr = codecs.getwriter("utf-8")(sys.stderr)
    2933
    3034def configure_logging(verbose):
Note: See TracChangeset for help on using the changeset viewer.