#
# strip-po-charset.py
#

import sys, string

def strip_po_charset(inp, out):

    out.write(string.replace(inp.read(),
                             "\"Content-Type: text/plain; charset=UTF-8\\n\"\n",""))

def main():

    if len(sys.argv) != 3:
        print "Usage: %s <input (po) file> <output (spo) file>" % sys.argv[0]
        print
        print "Unsupported number of arguments; 2 required."
        sys.exit(1)

    strip_po_charset(open(sys.argv[1],'r'), open(sys.argv[2],'w'))

if __name__ == '__main__':
    main()

#
# strip-po-charset.py
#

import sys, string

def strip_po_charset(inp, out):

    out.write(string.replace(inp.read(),
                             "\"Content-Type: text/plain; charset=UTF-8\\n\"\n",""))

def main():

    if len(sys.argv) != 3:
        print "Usage: %s <input (po) file> <output (spo) file>" % sys.argv[0]
        print
        print "Unsupported number of arguments; 2 required."
        sys.exit(1)

    strip_po_charset(open(sys.argv[1],'r'), open(sys.argv[2],'w'))

if __name__ == '__main__':
    main()

Set svn:eol-style='native' on some text files that were lacking it.
Set svn:eol-style='native' on some text files that were lacking it.


git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@855475 13f79535-47bb-0310-9956-ffa450edef68
