ud.set.encoding: Set the udunits package level encoding type
Description
This function sets the encoding type parameter which is global to the
R udunits2 package.
Usage
ud.set.encoding(enc.string)
Arguments
enc.string
A character string representing the encoding type.
Valid strings are utf8,ascii,iso-8859-1,and
latin1 (an alias for ISO-8859-1).
Value
Returns no value. Raises an error if it is not given a valid encoding string.
Details
Encoding type is a parameter to nearly all of the functions in the
udunits library. By default, the R udunits2 pacakge sets the encoding
type to UTF-8, however this package allows the user to set other
encoding types which are supported by the udunits library. It
presently suports UTF-8, ASCII, and ISO-8859-1