Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!purdue!bu-cs!dartvax!eleazar.dartmouth.edu!earleh From: earleh@eleazar.dartmouth.edu (Earle R. Horton) Newsgroups: comp.sys.mac.programmer Subject: Re: UprString problem. Message-ID: <17426@dartvax.Dartmouth.EDU> Date: 30 Nov 89 00:27:59 GMT References: <17296@dartvax.Dartmouth.EDU> <14765@well.UUCP> Sender: news@dartvax.Dartmouth.EDU Reply-To: earleh@eleazar.dartmouth.edu (Earle R. Horton) Organization: Thayer School of Engineering Lines: 28 In article <14765@well.UUCP> svc@well.UUCP (Leonard Rosenthol) writes: >In article <17296@dartvax.Dartmouth.EDU> earleh@eleazar.dartmouth.edu (Earle R. Horton) writes: >> >> [trying to build translation tables] >> >> Everything works fine, except that UprString() converts '`' >>(back-quote) to lower case 'a'. ... > Actually Transliterate has the same problem, which we also were >fortunate(?) to discover this week why trying to determine why you couldn't >do a Wait for Text '`' in MicroPhone II...We use Transliterate for our upper >casing (if it exists on the machine, otherwise we use UprString) and found >the same problem '`' -> 'a' as well.. (Also happens with 6.0.4 US and Swedish >if it makes you feel any better (on Mac II's, SE/30's, etc.)). LwrText seems to be OK. At least it works correctly on U.S. and Deutsch systems I have, including doing '`' properly. LwrText is new, however, and I think you need System 6.0 for it to work. (One can use LwrText to generate a table for upper casing.) I decided to include a mechanism to allow users to override entries in the translation tables I generate, anyway. I found that even something as basic as an "ess-tset" (Deutsch double-s as in "Strassburg") doesn't count for a letter unless you have 6.0.4 and use the Script Manager. I also included a search for the anomalous triplet, '`' -> 'a' -> 'A', and demote the '`' to punctuation if found. Earle R. Horton