From: "Wolfgang Nádasi-Donner" Date: 2007-10-29T23:37:09+09:00 Subject: Re: Implementation of "guessUTF" method - final questions Nikolai Weibull schrieb: > Not necessarily. There are still ranges in 0..255 that the ISO-8859-X > don't use, for example, > ISO-8859-1 = UNION(7..10, 12..13, 27, 32..126, 133, 164..255). Also, > the question of what is useful here is rather much up to the user. > The returned list of Encodings that believe themselves capable of > decoding the input would have to be discriminated somehow. In an > interface, for example, the application could present the user with > the list of Encodings and let them choose one. Only for clarification of what I want to build - I don't want to build a complicated and large method, which will not be used very often. I prefer a simple and small solution for possibly shipped together with the standard distribution. These more complicated methods lead to enlarge Ruby. The right place for these methods is from my viewpoint Ruby-Forge, from where in can be downloaded if one needs them. I've started to build methods like this two years ago. They are very large, because a lot of additional data is needed (allowed and probably unused ranges for each encoding, possible combinations, etc.). I will put these methods after some necessary rework during the next several month to Ruby-Forge, but I don't want to see them extending the size of some standard distribution. Wolfgang N��dasi-Donner