I'm still not able to get this to work. Attached is my script (or find it at http://pubpages.unh.edu/~jmb97/SDL/NFont/render-nfont.scm). It produces a bitmap of the characters in a font. I thought the whole first byte was identical between ASCII and UTF-8... Anyhow, maybe someone can get it to work or see what I'm trying to do. Basically, I'm just trying to put the special and accented characters (161, '¡' to 255, ÿ) into a string, but the Gimp isn't outputting anything where they should be. The script appears as NFont->Create NFont. Then you must check the extended ASCII box. I tried using Emacs, but changing the encoding didn't affect anything.
Thanks, Jonny D > From: [EMAIL PROTECTED] > To: email@example.com > Subject: Re: [Gimp-user] Script-fu (Scheme) and UTF-8 literals > Date: Thu, 15 May 2008 10:46:41 +0200 > CC: [EMAIL PROTECTED] > > Hi, > > > Do you mean just type them in? > > Yes. > > > That isn't working for me. Wouldn't switching the encoding affect the whole > > file instead of just a particular string? > > That should do no harm as Gimp is doing about everything in UTF-8 internally. > Plus, any characters that are relevant to Scheme syntax (i.e. not "strings") > are from 7-bit ASCII and won't be touched anyway when you switch to UTF-8. > > > 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). > > Strictly speaking, the values that you are talking about are not ASCII (as > that only defines 7 bits originally - the upper 127 characters depend on > which locale you are in and might even be text graphics). > > Notepad also stores its data in an encoding, which however is not UTF-8. > > > Typing them into a string isn't working. > > Hmm... have you tried using the ALT-<numpad-sequence> for entering the > values ? You seem to know the encoding values of the characters in UTF-8, so > this might work then with Notepad. > > > Torsten _________________________________________________________________ Change the world with e-mail. Join the i’m Initiative from Microsoft. http://im.live.com/Messenger/IM/Join/Default.aspx?source=EML_WL_ChangeWorld
Description: Binary data
_______________________________________________ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user