2010.09.22 20:33, A.L.E.C rašė:
I'm preparing for implementing IDNA support. I need to make a decission about the format used for storing IDN domains/addresses in database. UTF8 or Punnycode?
For contacts it's obvious that we should store them in utf8, because of contacts searching. But it's not so obvious for users/identities tables. Some (many) mail backends are storing IDN in punnycode format. So, if you have some integration scripts that are working on Roundcube together with those backends DBs it would be simpler to have punnycode in Roundcube too. What do you think?
Assuming you won't need to search users/identities in an accent-insensitive way (cause that won't work with punycode), your logic seems pretty solid to me.
Rimas
List info: http://lists.roundcube.net/dev/ BT/aba52c80