[Gimp-user] Script-fu (Scheme) and UTF-8 literals

Jonathan Dearborn grimfang4 at hotmail.com
Wed May 14 09:14:14 PDT 2008


Do you mean just type them in?  That isn't working for me.  Wouldn't switching the encoding affect the whole file instead of just a particular string?  I'm on WinXP, just using Notepad, which can handle the ascii values I'm using (I was surprised that Dr. Scheme can't, however).  Typing them into a string isn't working.  I've tried escaping them and using the hex value with \x, but that didn't seem to fly with Script-fu.  'format' isn't available either.  The Gimp 2.4 supposedly supports these characters, but I just haven't seen the documentation to back it up.  Is there another way that you know of?

Thanks for your help,
Jonny D



> From: tneuer at inwise.de
> To: gimp-user at lists.xcf.berkeley.edu
> Date: Wed, 14 May 2008 16:28:25 +0200
> Subject: Re: [Gimp-user] Script-fu (Scheme) and UTF-8 literals
> 
> Hello,
> 
> > I've been having trouble finding how to encode UTF-8 special characters
> > into a string literal in Script-fu.  Could someone provide an example of
> > how to hard-code international characters into a string?
> 
> The simplest and easiest way is to use a text editor that is capable of 
> switching text encoding.  One of those editors would be Emacs, which is also 
> available on many platforms (from the menu select: Options -> Mule -> Set 
> Language Environment -> UTF-8).
> 
> 
>   Torsten

_________________________________________________________________
With Windows Live for mobile, your contacts travel with you.
http://www.windowslive.com/mobile/overview.html?ocid=TXT_TAGLM_WL_Refresh_mobile_052008
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /lists/gimp-user/attachments/20080514/d988c491/attachment.html 


More information about the Gimp-user mailing list