why not simply use a library lie libidn which does all the work for you?
> Am 20.05.2016 um 09:43 schrieb Quinn The Eskimo! <eski...@apple.com>: > > > On 20 May 2016, at 05:14, Daryle Walker <dary...@mac.com> wrote: > >> The algorithms to de/en-code International Domain Names from/to plain-ASCII >> are big and complicated. > > Indeed they are. > >> Is there any included code (in Cocoa, Darwin, etc.) that provides the >> translation functions on Apple platforms? > > AFAIK we don’t have any public APIs that specifically handle this. You might > be able to do it as a side effect of some other process (like your pasteboard > trick) but I agree with your caution on that front. > > I recommend you file an enhancement request describing your requirements. > > <https://developer.apple.com/bug-reporting/> > > Please post your bug number, just for the record. > > Share and Enjoy > -- > Quinn "The Eskimo!" <http://www.apple.com/developer/> > Apple Developer Relations, Developer Technical Support, Core OS/Hardware > > > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Macnetworkprog mailing list (Macnetworkprog@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/macnetworkprog/afink%40list.fink.org > > This email sent to af...@list.fink.org Andreas Fink DataCell ehf, Backbone ehf, Cajutel Inc, Alisanus GmbH ------------------------------------------------------------------ c/o Alisanus GmbH Clarastreasse 3, 4058 Basel, Switzerland E-Mail: andr...@fink.org https://www.fink.org Mobile: +41-78-6677333 Office: +41 61 6666330 Skype: andreasfink Jabber/XMPP: andr...@fink.org ICQ: 8239353 ------------------------------------------------------------------
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (Macnetworkprog@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/macnetworkprog/archive%40mail-archive.com This email sent to arch...@mail-archive.com