On 16/12/2012 Antonio almeida wrote:
Hello Andrea ! Good morning
the omissions at your Portuguese page are due to your impossibility to type
~ ã õ ç
Thanks Antonio, I've now understood what you meant. A fixed page is, for
example, temporarily available at
http://www.openoffice.org/pt/about/newsletter.html
(which will replace the current
http://www.openoffice.org/pt/about/newsletter.htm when we are done with
some infrastructure fixes)
To any committer who can help: fixing this is simple, so if you can help
this would be appreciated. Steps:
$ svn co
https://svn.apache.org/repos/asf/openoffice/ooo-site/trunk/content/pt
(cd into somewhere different than about/, which I already completed)
$ gedit *
(change "windows-1252" to "UTF-8", File - Save As... choose UTF-8
encoding and replace the existing file; of course, use your favorite
editor, not necessarily Gedit).
You can do this automatically (if you have 'recode' installed) with
something like
$ for file in *.htm ; do sed -i s/windows-1252/UTF-8/ $file ; recode
windows-1252..utf8 $file ; done
but then you should check the results with "svn diff" before committing:
I found a few inconsistencies, like files that are already in UTF-8 and
shouldn't be recoded. Of course, you can write a better script too!
Regards,
Andrea.