[TYPO3-core] RFC: Bug 689: Domain Record with umlaut Domains not working
Dmitry Dulepov
9f4eetb02 at sneakemail.com
Wed May 9 13:30:55 CEST 2007
Hi!
Martin Kutschker wrote:
> I see a problem with charsets (see below). The code will if I read it
> correctly only work when the BE uses UTF8.
Right. But this is easily fixable.
> No, I suggested storing the puny code in the domain table instead of
> doing the conversion again and again. Another reason is that IDNA works
> on UTF8, so any de-/encoding must take care of the current charset.
>
> My idea:
>
> For table sys_domains we add a hook implementaion that translates any
> user input into an IDNA domain (punycoo with ACE prefix). The hook will
> convert the current charset to UTF8 before applying the punyocde
> transformation if necessary. To make the table still accessible I would
> add a read-only field that shows the domain in UTF8.
It can be done this way but I do not really like the idea of using hooks
in the core.
> PS: Could you repost the patch without the IDNA lib? The diff is much
> too large to find out what you have changed.
Attached.
--
Dmitry Dulepov
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bug_689_small.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070509/172ccfd2/attachment.asc
More information about the TYPO3-team-core
mailing list