Re: german menu and UTF-8
"J. Pauli" <[email protected]>
| Newsgroups | gmane.comp.window-managers.fluxbox.user |
|---|---|
| Message-ID | <[email protected]> |
Kai Sommer wrote: > Dear list-members, > > since I changed my system to UTF-8 (I recompiled the whole system under > Gentoo) my Fluxbox-Menu is something missing. - Some entries are broken after > a german "umlaut". Other entries where the "umlauts" are rewriten (ä=ae, > ü=ue) are OK. > > Can someone explain me how I can rebuild my ' > /usr/share/fluxbox/nls/de_DE/fluxbox.cat' that it works with UTF-8 (remember I > will use a german menu and would translate some entries too)? > > I attached my de_DE/fluxbox.cat for all people that wanna help me. > > Thanks > sokai > > PS: > The "umlauts" are working for iso-8859-1 and iso-8859-15... I submitted a solution for this problem to gentoo bugzilla ages ago but nothing happens. It's bug no. 96106. Quoting myself: Easy solution (I use it): Before running the configure script execute the following bash magic in the fluxbox source directory: for i in `ls -d nls/*_*`; do sed -e "1s/=.*$/=UTF-8/" < $i/Translation.m | iconv -f `head -n 1 $i/Translation.m | sed -e "s/^.*=//"` -t UTF-8 > $i/Translation.m; done This will convert all translations (except C) to UTF-8. Then just compile as usual. ----- Be sure to copy the above correctly. Cheers, Jan ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642