GSAK (Geocaching Swiss Army Knife)
Contents - Index

UTF16 (function)

UTF16(sData,sType) : String

This function will allow you to UTF16 encode/decode a string. Pass type of "e" to encode, and "d" to decode. This function may have other uses but I must confess it was mainly added to support the geocache_visits.txt file generated from the Garmin Colorado GPSr.

The UTF16 function currently assumes (and only supports) little endian as this is what the Colorado uses. I can add big endian support later if there is a need.

Related: Utf8()

Alpha List         Category List


Copyright 2004-2019 CWE Computer Services  
Privacy Policy Contact