From: Ondra K. <ke...@or...> - 2005-04-16 11:56:27
|
A forgot to add scripts... Sat, Apr 16, 2005 ve 01:51:48PM +0200, Ondra Kudlik napsal: > So, i write small perl script derived from your > utf8ToUnicodeEntities function. > > utf2ent.pl - convert utf characters to html entities > ent2utf.pl - convert entities to html characters > > So I can do in my language directory > > mkdir orig > cp -r *.inc orig/ > cd orig > for i in *.inc; do utf2ent.pl $i > ../$i; done > > It is done for czech language and everything seems good. Ryo, can I > submit this to cvs? > > Problem is, that in main.php on line 96 there is: > > echo theme_form_link(THEME_MAIN_FOLDER, iil_utf7_decode($disp_folderName)); > > and utf7_decode function show only characters until first entity of $disp_folderName > > Fri, Apr 15, 2005 ve 11:01:17AM -0500, Ryo Chijiiwa napsal: > > > > Actually, a better solution is to convert all lang files to Unicode > > entities, so that the characters display correctly no matter what the > > page's charset is. This is already done for edit_folders.php, but it > > also needs to happen for bookmarks.inc and calnedar.inc. I have some > > tools for this, so I'll make it publicly available. > > > > Ryo > > > > On 4/15/2005, "Ondra Kudlik" <ke...@or...> wrote: > > > > >Hi, > > > > > >I found out that in calendar, contacts, bookmarks and others is > > >setted variable override_cs to UTF-8. > > > > > >When i'm using iso-8859-2 charset and cz language i have broken > > >charset on this pages. > > > > > >I also want to convert all czech locales to utf, so recode them and > > >set $lang_charset="UTF-8"; in init.inc but all pages but mentioned > > >one has broken charset... > -- .''`. Ondra 'Kepi' Kudlik : :' : Debian GNU/Linux User `. `' `- http://www.nosoftwarepatents.com/cz/m/intro/index.html |