[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

how to move to UTF-8 ? (was: An encoding problem)



On Wed, Jul 29, 2009 at 06:27:02PM +0200, Frans Pop wrote:
> > Moving the website to UTF-8 would allow to get rid of such issues.
> 
> FYI, I've just converted the Dutch translation to UTF-8.

Could you please describe the steps you have performed and how ?

For what we have identified:
- recode wml files (using recode from recode package)
find . -type d -exec recode latin1..utf8 {} \;

- update the .wmlrc file
	-D CUR_LOCALE=fr_FR.UTF-8
	-D CHARSET=utf-8

- convert charset of po files
cd po ; for file in *po ; do msgconv -t UTF-8 -o $file $file ; done

- some references to ISO-8859-15 (or old coding) in webpages about
  website.
  * pour le site web, devel/website/examples.wml et
    international/french/web.wml
  * pour la traduction, international/french/traduire.wml
- *.UTF-8 locale on www-master -> OK, checked
- redirections pages with specified charset
  (devel/debian-installer/gtk-frontend.wml and distrib/cd.wml)

Do you see something else ?

-- 
Simon Paillard


Reply to: