View Single Post
  #1   (View Single Post)  
Old 11th September 2009
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default iconv and OpenBSD

I'm having some problems with utf-8 on OpenBSD ...

More specifically, iconv does't seem to work very well. My WM (PekWM) sets the Window title to <INVALID> whenever it contains a non-ascii character (This includes all GIMP windows and many webpages have UTF-8 <title>'s as well), some investigation discovered that PekWM uses iconv() for character translation.

A quick test with % iconv -t UTF-8 file where file is a file with non-ascii characters seems to confirm that iconv doesn't work at all on OpenBSD ... Or at least not with utf-8.

% iconv -l displays UTF-8 as a supported character set, so it should work. (tm)

(Also having problems with UTF-8 with mutt, may be related ... Some other apps like Vim and Xterm work fine though).
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote