Re: [PATCH] Add .trim method

[email protected] (Gianni Ceccarelli) Mon, 12 Jan 2009 16:30:06 +0100
Newsgroups perl.perl6.language,perl.perl6.internals
Message-ID <20090112163006.0e30e875@dechirico>
On 2009-01-12 Ovid <[email protected]> wrote:
> Um, er.  Damn.  Now I'm wondering how my "leading" and "trailing"
> trimming works with Hebrew.  How are the strings implemented
> internally?

RTL (and bidi) languages are written in strings so that the character
order is the logical, reading, order. That is, the character "nearer
to the beginning of the string" is the first one to be read by a human
reader (so, such character would be displayed on the right for a RTL
language, on the left for a LTR language, at the top for a TTB language)

Short answer: your implementation is right :)

-- 
	Dakkar - <Mobilis in mobile>
	GPG public key fingerprint = A071 E618 DD2C 5901 9574
	                             6FE2 40EA 9883 7519 3F88
	                    key id = 0x75193F88

You possess a mind not merely twisted, but actually sprained.
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iD8DBQFJa2ICQOqYg3UZP4gRAv50AJ9qGk7npRONi4qifOZA3xTy+9HW0QCeIu+L
VUEYFnp8oD+gRknDXx426OM=
=oz6P
-----END PGP SIGNATURE-----