Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Help needed with accented characters

From: warren:howsoft at: 6-Feb-2008 16:37

Here's a little script: ------------------------------------------------ Rebol[] mylay: layout[ text-list "Florianópolis" ] view mylay ------------------------------------------------ Please note that the "o" in the middle of the word "Florianopolis" (between the "n" and the "p") has an accent over it. 1. In Ubuntu Linux (Dapper Drake), the script runs successfully, but the accented "o" is displayed as 2 chars which have nothing to do with an accented "o". 2. If I copy the script created in Ubuntu to another machine where I have Windows XP installed, it runs as it did in Ubuntu: i.e. the script runs, but the accented "o" is displayed as 2 chars which have nothing to do with an accented "o". 3. If I create a new identical script using Notepad in Windows XP, it doesn't run at all! I get the message "Syntax Error: Script is missing a REBOL header". Help! The current little project I am working on makes use of a list of client names, some of which contain accents. Is there a workaround? An example of noob ignorance? [In fact, my list of client names is loaded in a way which is more complicated than the simple example above suggests. Each client has a file in a folder, and the file name corresponds exactly to his/her name. The text-list is populated by grabbing the file names from the folder. But all that is immaterial in relation to the essential problem of course.] In Ubuntu, I am using View 1.3.2.4.2 In Windows XP I am using 1.3.2.3.1 Regards, Bob Warren