- Dnia czwartek 26 maj 2005 19:39, A. J. Mechelynck napisał:
> > Interesting. I have simplified David's idea to::Still, "modulo" behaviour is strange.
> > let i = 0
> > while i < 10000
> > if nr2char(i) =~ '[[:punct:]]'
> > put =nr2char(i)
> > endif
> > let i += 1
> > endwhile
> > While in iso--8859-2 encoding (in Konsole) it works as ``i % 256``
> > (modulo) up to 10000 and result has over 1800 lines, in gvim with
> > utf-8 encoding it shows only punctuation signs up to 256 *once* with
> > 48 lines of output.
> If it doesn't catch any character >256, it's by design.