Re: move to utf8: po charset vs header
On Mon, Jan 03, 2011 at 11:36:33PM +0100, Simon Paillard wrote: > On Mon, Jan 03, 2011 at 09:27:30PM +0100, The7up wrote: > > May someone can help me? > > > > The following steps are necessary to move Hungarian translation to utf-8? > > See http://lists.debian.org/debian-www/2009/07/msg00233.html As mentionned there, po headers must be consistent with the actual content regarding the charset. I've updated the headers accordingly. You can have a look at some remaining issues: http://www-master.debian.org/build-logs/validate/hu > > 1. > > for i in $(find -type f); do \ > > recode iso-8859-2..utf8 $i; \ > > done > > You should exclude png and pdf files files (or first run the command on *.wml > files to see easily remaining files). > > > 2. > > update .wmlrc (-D CHARSET=utf-8) > > Optionnal: > > 3. Recode po files to UTF8. > 4. Replace html entities to UTF8. -- Simon Paillard -- To UNSUBSCRIBE, email to debian-www-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110110215749.gm25...@glenfiddich.ikibiki.org
Bug#567781: move to utf8
Thanks for your help. File recoding doesn't change time stamp of the file. So, after recode, touch needed. After using touch everything seems to be OK. Thanks again :) On Thu, Jan 6, 2011 at 6:03 PM, Osamu Aoki wrote: > On Wed, Jan 05, 2011 at 09:23:01PM +0100, The7up wrote: > > Hi, > > > > Something goes wrong... > > > > After recoding wml and po (files says: UTF-8 Unicode English text), tried > to > > commit this files, but cvs cannot found differences, so do nothing :( > > Which file are you looking. > > > Any help? :S > > > > recode iso-8859-2..utf8 $i; \ > > I did this on hungarian/po/bugs.hu.po > > It converted nicely from ISO to UTF-8 > $ file bugs.hu.po* > bugs.hu.po: UTF-8 Unicode PO (gettext message catalogue) text > bugs.hu.po.orig: ISO-8859 PO (gettext message catalogue) text > > Second guessing is difficult. Just try one by one to understand and > check it yourself. > > Osamu >
Bug#567781: move to utf8
On Wed, Jan 05, 2011 at 09:23:01PM +0100, The7up wrote: > Hi, > > Something goes wrong... > > After recoding wml and po (files says: UTF-8 Unicode English text), tried to > commit this files, but cvs cannot found differences, so do nothing :( Which file are you looking. > Any help? :S > > > recode iso-8859-2..utf8 $i; \ I did this on hungarian/po/bugs.hu.po It converted nicely from ISO to UTF-8 $ file bugs.hu.po* bugs.hu.po: UTF-8 Unicode PO (gettext message catalogue) text bugs.hu.po.orig: ISO-8859 PO (gettext message catalogue) text Second guessing is difficult. Just try one by one to understand and check it yourself. Osamu -- To UNSUBSCRIBE, email to debian-www-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110106170355.gb3...@debian.org
Bug#567781: move to utf8
Hi, Something goes wrong... After recoding wml and po (files says: UTF-8 Unicode English text), tried to commit this files, but cvs cannot found differences, so do nothing :( Any help? :S Thnx, Szabolcs Siebenhofer On Mon, Jan 3, 2011 at 11:36 PM, Simon Paillard wrote: > Hi, > > On Mon, Jan 03, 2011 at 09:27:30PM +0100, The7up wrote: > > May someone can help me? > > > > The following steps are necessary to move Hungarian translation to utf-8? > > See http://lists.debian.org/debian-www/2009/07/msg00233.html > > > 1. > > for i in $(find -type f); do \ > > recode iso-8859-2..utf8 $i; \ > > done > > You should exclude png and pdf files files (or first run the command on > *.wml > files to see easily remaining files). > > > 2. > > update .wmlrc (-D CHARSET=utf-8) > > Optionnal: > > 3. Recode po files to UTF8. > 4. Replace html entities to UTF8. > > > -- > Simon Paillard >
Re: move to utf8
Hi, On Mon, Jan 03, 2011 at 09:27:30PM +0100, The7up wrote: > May someone can help me? > > The following steps are necessary to move Hungarian translation to utf-8? See http://lists.debian.org/debian-www/2009/07/msg00233.html > 1. > for i in $(find -type f); do \ > recode iso-8859-2..utf8 $i; \ > done You should exclude png and pdf files files (or first run the command on *.wml files to see easily remaining files). > 2. > update .wmlrc (-D CHARSET=utf-8) Optionnal: 3. Recode po files to UTF8. 4. Replace html entities to UTF8. -- Simon Paillard -- To UNSUBSCRIBE, email to debian-www-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110103223633.gt13...@glenfiddich.ikibiki.org
move to utf8
Hi! May someone can help me? The following steps are necessary to move Hungarian translation to utf-8? 1. for i in $(find -type f); do \ recode iso-8859-2..utf8 $i; \ done 2. update .wmlrc (-D CHARSET=utf-8) Thanx, Zibi