[jdev] SASL debugging

Norman Rasmussen norman at rasmussen.co.za
Sat Dec 10 08:45:37 CST 2005


Cool, thanks for sorting out that example!

I'm a 'latin' only charset kinda guy, so the notion of stringprep is
pretty foreign to me, but I understand why it's necessary.

I'd expect that stringprep is more used to map 'е' 0x0435 to 'e'
0x0065, and 'ё' 0x0451 to 'ë' 0x00EB?

On 12/10/05, Matthias Wimmer <m at tthias.net> wrote:
> Hi Norman!
>
> Norman Rasmussen schrieb:
>
> >Supporting the stringprep profiles is not the same same as what is
> >normally understood by  'full unicode support'.  Stringprep is used to
> >convert characters that look the same, into the same character.  e.g.
> >you use 'e', and I use 'ê', someone else uses 'è' - after nodeprep
> >they would all be 'e' (as far as I understand).
> >
> >
> Your explanation is right, but your example is not. "e", "ê", and "è"
> are not all mapped to the same character "e", but are kept different.
>
> Examples of mapped characters are:
>
> "℉" (U+2109, single charater!) is mapped to "°f" (two characters),
> "™" (U+2122, single character!) is mapped to "tm" (two characters),
> "ℂ" (U+2102) is mapped to "c",
> "ℹ" (U+2139) is mapped to "i",
> "№" (U+2116, single character!) is mapped to "no" (two characters),
> "²" (U+00B2) is mapped to "2".
>
>
> Tot kijk
>     Matthias
>


--
- Norman Rasmussen
 - Email: norman at rasmussen.co.za
 - Home page: http://norman.rasmussen.co.za/


More information about the JDev mailing list