From: Martin Duerst Date: 2009-02-24T10:06:56+09:00 Subject: [ruby-core:22390] Re: [Feature #908] Should be an easy way of reading N characters from am I/O stream At 19:02 09/02/23, Michal Suchanek wrote: >Theoretically if separate (combining) character accents are considered >part of the character then a character might be quite long - I guess >about ten codepoints For actual real-life examples, much less than that. For Indic grapheme clusters (which use mostly base characters, not combining characters), the number can indeed get to around 10. In theory, there is no limitation as to how many combining characters can follow a base character. >which can be themselves up to six bytes. No, just up to four. Regards, Martin. #-#-# Martin J. Du"rst, Assoc. Professor, Aoyama Gakuin University #-#-# http://www.sw.it.aoyama.ac.jp mailto:duerst@it.aoyama.ac.jp