User Guide
346 Document
dreamweaver.nativeToLatin1()
Availability
Dreamweaver 2.
Description
Converts a string in native encoding to Latin 1 encoding.
Arguments
stringToConvert
■ The stringToConvert argument is the string to convert from native encoding to Latin 1
encoding.
Returns
The converted string.
dreamweaver.scanSourceString()
Availability
Dreamweaver UltraDev 1.
Description
Scans a string of HTML and finds the tags, attributes, directives, and text. For each tag,
attribute, directive, and text span that it finds, the
scanSourceString() function invokes a
callback function that you must supply. Dreamweaver supports the following callback
functions:
■ openTagBegin()
■ openTagEnd()
■ closeTagBegin()
■ closeTagEnd()
■ directive()
■ attribute()
■ text()
NOTE
This function has no effect in Windows because Windows encodings are already based
on Latin 1.
000_DW_API_Print.book Page 346 Wednesday, July 20, 2005 11:58 AM