hi roymeo, sorry, maye I was a bit unclear, those charcodes (0x8A and 0x9A, or in other words: Š and š) are the codes for german special chars "�" (a umlaut) and "�" (o umlaut) in the MAC ROMAN CODEPAGE. the letters you mention are correct for the ANSI CODEPAGE (iso-8859-1/windows-1251) . In fact, I discovered those bugs when I wrote a script that converts mac roman text to ansi text, and which works fine for all other letters except those. But anyway, it definetely is a bug, because I would expect that contains() and offset() work for all chars (except for 0x00), no matter what letter they stand for. it's a strange behavior to mix up chars in such basic string functions.
valentin roymeo wrote: > I just tested this on the PC.... > > those are the upper and lower case s with a reversed ^ over them. > S and s > > This is confirmed by my HTML Reference book (up to HTML 4): > > Š in HTML is Uppercase S with canon (nonstandard) > š in HTML is Lowercase s with canon (nonstandard) > > along with the note: > > "Note: in the standard, the values from 127 to 159 are not > assigned. Authors are advised not to use them. Many of them only > work > under windows or produce different characters on other operating > systems or > with different default font sets." > -- p 1008 in HTML: The Complete Reference, Second Edition, �1999 > > I believe the regular place for the lowercase umlat characters are: > 0228 = � > 0235 = � > 0239 = � > 0246 = � > 0252 = � > those characters have been typed in on the numeric keypad while > holding the > ALT key on a PC, so those numbers certainly work for me on a WinPC. > > I suggest you make sure you're using the correct character reference. > > (and when someone has a suggestion or question about what you're > doing, you > might consider double-checking your info...) > > r��me� > > At 12:04 AM 4/9/2004, you wrote: >> hi daniel, >> >> no, those are the mac char codes for the german special chars "�" (a >> umlaut) and "�" (o umlaut), both lower case. >> >> valentin >> >>> In this case, is it possible that these two characters (138 and 154) >>> are lower and upper case versions of one another? >>> >> >> [To remove yourself from this list, or to change to digest mode, go >> to http://www.penworks.com/lingo-l.cgi To post messages to the >> list, email [EMAIL PROTECTED] (Problems, email >> [EMAIL PROTECTED]). Lingo-L is for learning and helping with >> programming Lingo. Thanks!] > > --------------------------------- > roymeo(AT)brokenoffcarantenna.com > --------------------------------- > i used to love you > back when you wrote poetry > > > [To remove yourself from this list, or to change to digest mode, go > to http://www.penworks.com/lingo-l.cgi To post messages to the list, > email [EMAIL PROTECTED] (Problems, email > [EMAIL PROTECTED]). Lingo-L is for learning and helping with > programming Lingo. Thanks!] [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
