Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!eru!luth!sunic!draken!d88-jwa From: d88-jwa@nada.kth.se (Jon Watte) Newsgroups: comp.sys.mac.programmer Subject: Re: Serious programming question Message-ID: <2251@draken.nada.kth.se> Date: 2 Nov 89 16:25:14 GMT References: <89295.142753CXT105@PSUVM.BITNET> <413@iconsys.UUCP> <2245@draken.nada.kth.se> Reply-To: d88-jwa@nada.kth.se (Jon W{tte) Organization: Royal Institute of Technology, Stockholm, Sweden Lines: 27 In article <2245@draken.nada.kth.se> d88-bli@nada.kth.se (Bo Lindbergh) writes: >In article <413@iconsys.UUCP> tom@iconsys.UUCP (Tom Kimpton) writes: >[ stuff about text editor data structures deleted ] >> If you wanted to allow the use >>of different fonts, sizes, styles, etc, you might consider using >>high-bit set (non-ASCII) characters to indicate one of 128 "style" >>records (more if you have your code use one or more following bytes). >No, no, for Odin's sake NO! Of course Bo LIndberg's right. Inside Mac says: XI) Thou shalt not assume a character requres only one byte Using the Script manager, and all of the international utilities, requres some extra work, yes, but it will be a good program when it's done. Keep the style record off the text, to maintain compatibility with TEXT-only editors. I had a flame war with some people at Microsoft about this a while ago :-) Happy Hacking ! h+@nada.kth.se -- This .signature is longer than 4 lines. If you'd like to see it in whole, please send a note to me. I'm h+@nada.kth.se and also h+@proxxi.se 8')