NISUS Archives

July 2011

NISUS@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Mime-Version:
1.0 (Apple Message framework v1084)
Sender:
A discussion list for Nisus & NisusWriter <[log in to unmask]>
Date:
Mon, 11 Jul 2011 10:06:29 +0900
Reply-To:
Subject:
From:
Nobumi Iyanaga <[log in to unmask]>
Content-Transfer-Encoding:
quoted-printable
In-Reply-To:
Content-Type:
text/plain; charset=us-ascii
Comments:
Parts/Attachments:
text/plain (34 lines)
Hello Kino,

Thank you for your comment.

On Jul 11, 2011, at 3:01 AM, Kino wrote:

> On 2011-07-08 [+0900 JST], at 8:19 PM, Nobumi Iyanaga wrote:
> 
>> Select All
>> Copy:Copy Text Only
>> $the_data = Read Clipboard
>> Write to File $the_data, $newfpath
> 
> Alternatively...
> 
> 	$data = Cast to String $doc.text.copy, true
> 	Write to File $data, $newPath
> 	Set Exported Perl Variables 'newPath'
> 	begin Perl
> 		if ( -x "/usr/bin/xattr" ) { # if you are running OS X 10.5 or later
> 			`/usr/bin/xattr -w com.apple.TextEncoding 'UTF-8;134217984' "$newPath"`;
> 		}
> 	end

I didn't know the command "xattr" and "com.apple.TextEncoding 'UTF-8;134217984'" -- so I did some google search on them. I could understand what they mean, but what is the usefulness of setting the file encoding to 'UTF-8'...? Would this help Spotlight to make a better index?

Thank you in advance.

Best regard,

Nobumi Iyanaga
Tokyo,
Japan

ATOM RSS1 RSS2