realbasic-nug
[Top] [All Lists]

Re: Shell Char Problem

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Shell Char Problem
From: Leonardo Lima de Vasconcellos <lv at quanticsolutions dot com>
Date: Tue, 28 May 2002 15:06:38 -0300
Yep, that's it. You've typed a word in MacRoman; the Shell expects
everything in UTF-8. You can do this yourself, but if you're going
to generalize this app to work with arbitrary FolderItems, you may
want to get the MFile plugin (part of the great OS X Utilities pack
by Chad McQuinn) at: http://homepage.mac.com/huskerchad

but if I open a Terminal and type exactly the same thing everything
works fine.

The Terminal app is converting what you type to UTF-8 for you before
feeding it to the shell. Your code must do the same thing.

Cheers,
- Joe

Thanks, Joe! It works!!! :-)
Just for understanding purposes what is UTF-8 an MacRoman?



Leonardo Lima de Vasconcellos___________________________________________________________
Microsoft Cerfied Professional
Quantic Solutions - Developer
www.quanticsolutions.com
(047) 4333839
<Prev in Thread] Current Thread [Next in Thread>