[pygccxml-commit] SF.net SVN: pygccxml:[1731] pyplusplus_dev/docs/history
Brought to you by:
mbaas,
roman_yakovenko
From: <rom...@us...> - 2009-05-13 16:07:15
|
Revision: 1731 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1731&view=rev Author: roman_yakovenko Date: 2009-05-13 12:31:34 +0000 (Wed, 13 May 2009) Log Message: ----------- updating encoding Modified Paths: -------------- developer_scripts/ensure_utf8.py pyplusplus_dev/docs/documentation/apidocs/api.rest pyplusplus_dev/docs/history/history.rest Modified: developer_scripts/ensure_utf8.py =================================================================== --- developer_scripts/ensure_utf8.py 2009-05-13 12:16:24 UTC (rev 1730) +++ developer_scripts/ensure_utf8.py 2009-05-13 12:31:34 UTC (rev 1731) @@ -27,6 +27,7 @@ def write_content( fpath, content ): fcontent_new = content #unicode( content, 'UTF8' ) + fcontent_new = fcontent_new.lstrip( unicode( codecs.BOM_UTF8, "utf8" ) ) f = codecs.open( fpath, 'w+b', 'UTF8' ) f.write( fcontent_new ) f.close() @@ -36,8 +37,12 @@ if __name__ == '__main__': sources_dir = os.path.join( os.path.abspath( os.curdir ), '..' ) + dirs_to_go = [ os.path.join( sources_dir, 'pydsc_dev' ) + , os.path.join( sources_dir, 'pygccxml_dev' ) + , os.path.join( sources_dir, 'pyplusplus_dev' ) ] - for fpath in files_iterator( sources_dir, to_be_validated_file_exts ): + for fpath in files_iterator( dirs_to_go, to_be_validated_file_exts ): + print 'converting %s' % fpath ensure_utf8( fpath ) print 'converting %s - done' % fpath Modified: pyplusplus_dev/docs/documentation/apidocs/api.rest =================================================================== --- pyplusplus_dev/docs/documentation/apidocs/api.rest 2009-05-13 12:16:24 UTC (rev 1730) +++ pyplusplus_dev/docs/documentation/apidocs/api.rest 2009-05-13 12:31:34 UTC (rev 1731) @@ -1,4 +1,4 @@ -=== +=== API === Modified: pyplusplus_dev/docs/history/history.rest =================================================================== --- pyplusplus_dev/docs/history/history.rest 2009-05-13 12:16:24 UTC (rev 1730) +++ pyplusplus_dev/docs/history/history.rest 2009-05-13 12:31:34 UTC (rev 1731) @@ -1,4 +1,4 @@ -=================== +=================== Development history =================== This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |