Actually Transliterate has other problems because it needs GlueLibrary for previous versions.
Can I ask you why you need StrToLower ? If for comparing strings only, use StrCaselessCompare. BTW, Ken. I doubt that SS is translated into '�', even assuming you use German PalmOS. Have you tried that ? Michael -----Original Message----- From: Ken Krugler [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 12 December 2001 11:46 AM To: Palm Developer Forum Subject: Re: StrToLower - src the same as dst? >Can I do it that way? > >StrToLower(*src,*src) I believe you can currently, but I don't think this is guaranteed to work in all future versions of the OS. There are some letters that actually expand or contract depending on the case - for example '�' (aka latin small letter sharp s) is the lower-case form of 'SS'. Of course this specific case works for StrToLower() since it's getting shorter, but there will be cases in the future where lower-casing causes an expansion. To be safe, use TxtTransliterate and watch for the txtErrTranslitOverrun result, which is returned when the source & destination are the same and there's an expansion in the transliteration that tromps on pending source data. -- Ken Ken Krugler TransPac Software, Inc. <http://www.transpac.com> +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
