Re: Textconverter?
Re: Textconverter?
- Subject: Re: Textconverter?
- From: John Stewart <email@hidden>
- Date: Tue, 21 Jan 2003 14:33:11 -0500
On Tuesday, Jan 21, 2003, at 12:46 America/New_York, Steve Roy wrote:
email@hidden (Gvran Ehn) wrote:
Hi all, I guess someone must have faced this problem before of how to
convert
text from one enconding to another. If you know of a pro-tool
software that
lets
you convert from one encoding to another I'll be very happy to buy it.
You can script BBEdit to do it. BBEdit Lite is free.
http://www.barebones.com
Or you can get the TEC osax
<
http://www.bekkoame.ne.jp/~iimori/sw/TECOSAX.html>
Here is it's dictionary -
TECGetEncodings: Get available encodings (defined in: TEC.osax)
TECGetEncodings
Result: list of list -- available encodings list in MIME encoding name
TECConvertText: Convert text encoding (defined in: TEC.osax)
TECConvertText string -- text to convert
fromCode string -- source text MIME encoding name
toCode string -- converted text MIME encoding name
Result: string -- converted text
TECGetSniffers: Get available sniffers (defined in: TEC.osax)
TECGetSniffers
Result: list of list -- available sniffers list in MIME encoding name
TECSniffTextEncoding: Examine text encoding (defined in: TEC.osax)
TECSniffTextEncoding string -- text to sniff
sniffCodes list of list -- list of MIME encoding names to examine
Result: sniffResult -- examined result
StyledText2Unicode: Convert styled text to Unicode (defined in:
TEC.osax)
StyledText2Unicode styled text -- styled text to convert
[toCode string] -- Unicode encoding name (default:"UTF-8")
Result: string -- converted Unicode text
Unicode2StyledText: Convert Unicode text to styled text (defined in:
TEC.osax)
Unicode2StyledText string -- Unicode text to convert
[fromCode string] -- Unicode encoding name (default:"UTF-8")
[preferredScript small integer] -- preferred ScriptCode of converted
text
Result: styled text -- converted styled text
TextClipping2Unicode: Convert styled text clipping file to Unicode
(defined in: TEC.osax)
TextClipping2Unicode alias -- text clipping file to convert
[toCode string] -- Unicode encoding name (default:"UTF-8")
Result: string -- converted Unicode text
Unicode2TextClipping: Convert Unicode text to styled text clipping file
(defined in: TEC.osax)
Unicode2TextClipping string -- Unicode text to convert
toFile file specification -- destination text clipping file
[fromCode string] -- Unicode encoding name (default:"UTF-8")
[preferredScript small integer] -- preferred ScriptCode of converted
text
StyledTextFile2Unicode: Convert styled text file to Unicode (defined
in: TEC.osax)
StyledTextFile2Unicode alias -- styled text to convert
[toCode string] -- Unicode encoding name (default:"UTF-8")
Result: string -- converted Unicode text
Unicode2StyledTextFile: Convert Unicode text to styled text file
(defined in: TEC.osax)
Unicode2StyledTextFile string -- Unicode text to convert
toFile file specification -- destination styled text file
[fromCode string] -- Unicode encoding name (default:"UTF-8")
[preferredScript small integer] -- preferred ScriptCode of converted
text
Class sniffResult:
Properties:
encoding string [r/o]
errors integer [r/o]
features integer [r/o]
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.