[UA-discuss] Re : Punycode Converters

Mark Svancarek marksv at microsoft.com
Mon Nov 6 23:53:54 UTC 2017


inline

From: ua-discuss-bounces at icann.org [mailto:ua-discuss-bounces at icann.org] On Behalf Of Dr Ajay Data
Sent: Saturday, November 4, 2017 12:58 AM
To: don hollander <don.hollander at icann.org>; universal acceptance <ua-discuss at icann.org>
Subject: [UA-discuss] Re : Punycode Converters

here are my thoughts..

1) Is anyone aware of any punycode converters (particularly in libraries) that produce bad results?
There may be made implementations,, however its quite standard in programming libraries, which most of software development people are supposed to use. One of the good starting point may be https://docs.oracle.com/javase/7/docs/api/java/net/IDN.html

2) Is there a test suite that can be used to test Punycode converters?
I think, if ACE can be converted back to same Unicode is good test. And almost all online converters<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Feai.xgenplus.com%2FMultilanguage-To-Punycode-Convertor.jsp&data=02%7C01%7Cmarksv%40microsoft.com%7Ce8cb719dd90c401396b208d52359ca42%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636453790920198867&sdata=t3OKRk9Zq0l7xCNYSWtqVtEFcBFVGD6fu3ybmkGiazk%3D&reserved=0> provide bi-directional of Unicode<->ACE.  People can try tool<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Feai.xgenplus.com%2FMultilanguage-To-Punycode-Convertor.jsp&data=02%7C01%7Cmarksv%40microsoft.com%7Ce8cb719dd90c401396b208d52359ca42%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636453790920198867&sdata=t3OKRk9Zq0l7xCNYSWtqVtEFcBFVGD6fu3ybmkGiazk%3D&reserved=0> and
[Mark Svancarek] I think if you use one tool to convert in one direction and another tool to convert it back, and get the same result, then you know they are implementing the same rules – but not whether it’s the rules set that you prefer (idna2003 vs idna2008, for instance).

3) Would the source of input (typed, cut/paste, input from a data file) make any difference? This probably has to do with RTL scripts
Bad Input can make a difference, this is true for every application.  While dealing with RTL, there are some more rules to be followed and its related to input, may not be alone relevant for punycode.
[Mark Svancarek] I once personally experienced errors when cutting/copying RTL text out from a LTR UI and then into a different LTR UI… I didn’t investigate to determine if the error happened during the cut operation or during the paste operation.  Anecdotally, I hear this is fairly common, and should be reported as a bug.  In contrast, cut/copy/paste errors within a fully RTL user experience (as an Arabic or Hebrew user might commonly encounter) is supposedly pretty reliable.


Thanks.

Dr. Ajay DATA  | Founder & CEO
Get email id like अजय@डाटा.भारत<mailto:अजय@डाटा.भारत> in your own language,
visit www.xgenplus.com<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.xgenplus.com%2F&data=02%7C01%7Cmarksv%40microsoft.com%7Ce8cb719dd90c401396b208d52359ca42%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636453790920198867&sdata=YMUmNOTdOumpmOaBTHAMOghgpZARwtkGvWzVllGB6YQ%3D&reserved=0>

________________________________
From: Don Hollander <don.hollander at icann.org<mailto:don.hollander at icann.org>>  MailId : [75219206]
To: Universal Acceptance <ua-discuss at icann.org<mailto:ua-discuss at icann.org>>
Subject: [UA-discuss] Punycode Converters
Date: 03 Nov 2017 10:12:54 PM

During the UASG Workshop in Abu Dhabi there was a brief discussion about Punycode converters.

1) Is anyone aware of any punycode converters (particularly in libraries) that produce bad results?
2) Is there a test suite that can be used to test Punycode converters?
3) Would the source of input (typed, cut/paste, input from a data file) make any difference? This probably has to do with RTL scripts

Thanks.

Don

Don Hollander
Universal Acceptance Steering Group
Skype: don_hollander




Do not Remove:
[HID]20171103221254439[-HID][https://data.in/XGenPlusMessageID:15097822772502804a-#RCPT#.jpg] [http://dlr.tbms.in:8077/XET2617:201711.jpg]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mm.icann.org/pipermail/ua-discuss/attachments/20171106/ce8fb644/attachment.html>


More information about the UA-discuss mailing list