Re: charset conversion

2006-02-12 Thread Kevin Ryde
Christian Mauduit <[EMAIL PROTECTED]> writes: > > (_ "my string") Gettext can understand that directly, actually. With a recent version it's something like xgettext --language=scheme --keyword=_ With older gettext I think language=lisp works. xgettext recognises `gettext' calls directl

Re: charset conversion

2006-02-10 Thread William Xu
Christian Mauduit <[EMAIL PROTECTED]> writes: > BTW (not extactly your question, but it's related) in my program ( > http://www.gnu.org/software/liquidwar6/ ) I use a wrapper over gettext ( > see src/funcs.c for code snippets). The idea is to handle charset > conversions through gettext. I also us

Re: charset conversion

2006-02-10 Thread Christian Mauduit
Hi, William Xu a écrit : >>I did some bits for my charting program, converting to and from utf8 >>using the libc iconv() stuff (plus some ascii-only fallbacks). You >>could also run the iconv command-line program from within guile if you >>don't want C code, and only have a few bits to convert. >

Re: charset conversion

2006-02-09 Thread William Xu
Kevin Ryde <[EMAIL PROTECTED]> writes: > William Xu <[EMAIL PROTECTED]> writes: >> >> Does guile support charset conversion? e.g., Display a string using >> my-charset coding system, > > The short answer is no. Strings are just byte sequences, which is ok

Re: charset conversion

2006-02-09 Thread Kevin Ryde
William Xu <[EMAIL PROTECTED]> writes: > > Does guile support charset conversion? e.g., Display a string using > my-charset coding system, The short answer is no. Strings are just byte sequences, which is ok if your input and output codings are the same, but needs an add-on

charset conversion

2006-02-09 Thread William Xu
Hi, Does guile support charset conversion? e.g., Display a string using my-charset coding system, guile > (display "a string" 'my-charset) -- William ___ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user