Bug#567781: move to utf8

2011-01-06 Thread Osamu Aoki
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

2011-01-06 Thread The7up
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 os...@debian.org 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

2011-01-05 Thread The7up
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 spaill...@debian.orgwrote:

 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