Convert a TaggedText encoded unicode string to unicode.

Convert a TaggedText encoded unicode string to unicode. Unicode (wchar_t) strings currently cannot be used in the standard cscript string functions

Name Type Default Description
Return int *    
dest int* - Destination buffer. Buffer must have been allocated static or usin the alloc function
src char* - source string
char * 	tagged = "Preisst<0x00F6>rer gro<0x00DF>";
int  	unicode[4096];
int  	i;
if (tagged_to_wchar (unicode, tagged) == 0) { showmessage ("Conversion failed"); return -1; }
// bad idea: // wlog ("", "Unicode string: %s\n", unicode); for (i = 0; unicode [i]; ++i) { wlog ("", "Unicode char at %d: %d\n", i, unicode[i]); }

Since
Version 2.1 R1100 (20. Dezember 2008)

Available
priint:comet InDesign® Plug-Ins, comet_pdf

Alphabetic index HTML hierarchy of classes or Java