Re: PB Save As ASCII?
Re: PB Save As ASCII?
- Subject: Re: PB Save As ASCII?
- From: Douglas Davidson <email@hidden>
- Date: Thu, 14 Feb 2002 09:45:25 -0800
On Thursday, February 14, 2002, at 09:22 AM, Todd Blanchard wrote:
In copying some code off a web page tutorial, I have managed to embed
some whitespace character that the java compiler doesn't like. So I
figure all my code fits in ASCII, I'll just save the file as plain ascii
and that should fix the problem.
Nope - there are a lot of encodings listed - but plain (lossy) ascii
isn't one of them.
This sucks. I'm going to have to retype the whole 2 pages of code by
hand because no utility I can find will save the text as lossy ascii.
Well, there are plenty of command-line tools that could help you. There
is also a little-known feature of TextEdit, that allows you to change
the list of encodings it presents in its "Save As" for plain text. For
example, if you change the name of the "MoreEncodings.plist" file inside
TextEdit to "Encodings.plist", you will get more encodings (including
non-lossy ASCII, which should help you). See the TextEdit source for
details.
I had thought that PB would detect and offer to correct these sorts of
problems, though...
Douglas Davidson
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.