<p><a href="https://github.com/tomhughes" class="user-mention">@tomhughes</a> you've been distracted by the mention of diffs. <a href="https://github.com/ardean80" class="user-mention">@ardean80</a> has linked to the two users, who both have the same display name <em>right now</em>, according to the XML API.</p>
<blockquote>
<p>two users (whose ids are <a href="http://www.openstreetmap.org/api/0.6/user/6115593">6115593</a> and <a href="http://www.openstreetmap.org/api/0.6/user/4518891">4518891</a>) have the same display_name ("Андрей Б")</p>
</blockquote>
<p>I couldn't find any difference between them by looking at the hex values of the strings copied from the XML:</p>
<pre><code>'Андрей Б'.unpack('H*')
=> ["d090d0bdd0b4d180d0b5d0b920d091"]
</code></pre>
<p>I'm guessing there must be another character in the database record that allows them to pass the uniqueness tests, but that is being stripped out when the XML is being built. Or perhaps it's a combining character issue? If someone with db access could have a look at the strings that might prove useful.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/1560#issuecomment-307370458">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABWnLYkPxTdhUcwsLL1WYUIC7sLf5bYMks5sCTP4gaJpZM4N1IeK">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABWnLcSlaZnpyKpHQfm_Fg9y5Dy9x4Q6ks5sCTP4gaJpZM4N1IeK.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/openstreetmap/openstreetmap-website/issues/1560#issuecomment-307370458"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/openstreetmap/openstreetmap-website","title":"openstreetmap/openstreetmap-website","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/openstreetmap/openstreetmap-website"}},"updates":{"snippets":[{"icon":"PERSON","message":"@gravitystorm in #1560: @tomhughes you've been distracted by the mention of diffs. @ardean80 has linked to the two users, who both have the same display name *right now*, according to the XML API.\r\n\r\n\u003e two users (whose ids are [6115593](http://www.openstreetmap.org/api/0.6/user/6115593) and [4518891](http://www.openstreetmap.org/api/0.6/user/4518891)) have the same display_name (\"Андрей Б\")\r\n\r\nI couldn't find any difference between them by looking at the hex values of the strings copied from the XML:\r\n\r\n```\r\n'Андрей Б'.unpack('H*')\r\n=\u003e [\"d090d0bdd0b4d180d0b5d0b920d091\"]\r\n```\r\nI'm guessing there must be another character in the database record that allows them to pass the uniqueness tests, but that is being stripped out when the XML is being built. Or perhaps it's a combining character issue? If someone with db access could have a look at the strings that might prove useful."}],"action":{"name":"View Issue","url":"https://github.com/openstreetmap/openstreetmap-website/issues/1560#issuecomment-307370458"}}}</script>