Re: [BUG] Blank about dialog box - does everyone have a funcional iconv ?
- From: <tpgww@xxxxxxxxxxx>
- To: emelfm2@xxxxxxxxxxxxx
- Date: Fri, 11 May 2007 20:00:51 +1000
On Thu, 10 May 2007 20:33:58 +0400
Alexander Orlov <alxorlov@xxxxxxxxx> wrote:
> Hello, everybody.
>
> When I open about dialog box, the first tab is completely blank.
> Other tabs works well.
> The problem is in function
> src/dialogs/e2_about_dialog.c:_e2_about_dialog_create()
>
> gchar *message = g_strdup_printf
> (
> _("<b>An \"orthodox\" file manager for GTK+2</b>\n\n"
> "Copyright © %s\n\n" //© = ©. Using that directly, or
> \302\251, stuffs up gettext
> "This program is licensed under the terms of the General Public License
> "
> "and comes with ABSOLUTELY NO WARRANTY\n\n"
> "This binary was compiled on %s\n"
> "using %s and GTK+%d.%d.%d"),
> public, BUILDSTAMP, BUILDINFO,
> GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION
> );
>
> Here BUILDSTAMP is in current locale encoding (which is KOI8-R in my case).
> While other strings will be converted to UTF-8 by gettext. So BUILDSTAMP
> and BUILDDATE should be converted to UTF-8 too, prior to go to
> g_strdup_printf.
> This can be done either at buildtime, like this:
>
> --- emelfm2-devel/Makefile.orig 2007-05-10 19:19:13.000000000 +0400
> +++ emelfm2-devel/Makefile 2007-05-10 19:19:06.000000000 +0400
> @@ -48,8 +48,8 @@
> RELEASE=
> #RELEASE=.1
> PROGNAME=emelFM2
> -TIMESTAMP=$(shell date +"%02d %b %04Y")
> -DATE=$(shell date)
> +TIMESTAMP=$(shell date +"%02d %b %04Y" | iconv -t utf-8)
> +DATE=$(shell date | iconv -t utf-8)
> INFO=$(shell uname) $(shell uname -r)/$(shell uname -m)
> COPYRIGHT=2003-$(shell date +"%04Y"), tooar <tooar@xxxxxxx>
> OPSY := $(shell uname)
>
> Or at runtime, using iconv.
Do all OS's that support gtk (or more particularly, upon which emelfm2 might be
built for use with gtk) also have a functional iconv utility on hand, by
default ? I thought I read somewhere that this is not so ??
I suppose that any "make" argument that may be supplied on a shell command
line, and those arguments' derivatives (paths derived from PREFIX, document
names) also needs conversion, potentially.
Regards
Tom
--
Users can unsubscribe from the list by sending email to
emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or by
logging into the web interface.
- Follow-Ups:
- Re: [BUG] Blank about dialog box - does everyone have a funcional iconv ?
- From: Alexander Orlov
- References:
- [BUG] Blank about dialog box
- From: Alexander Orlov
Other related posts:
- » Re: [BUG] Blank about dialog box - does everyone have a funcional iconv ?
- » Re: [BUG] Blank about dialog box - does everyone have a funcional iconv ?
- » Re: [BUG] Blank about dialog box - does everyone have a funcional iconv ?
- Re: [BUG] Blank about dialog box - does everyone have a funcional iconv ?
- From: Alexander Orlov
- [BUG] Blank about dialog box
- From: Alexander Orlov