﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Sina commented on Strange production errors</title><description>This is a quite valid and common character in some languages, such as Persian (it is called Zero-Width Non Jointer) and joins different parts of a single word, when you don't want it get separated when word-wrapping happens. E.g., the following word contains a ZWNJ: می‌روم

Since it is a very common character for some languages it may happen usually that somebody changes the keyboard language accidentally and enter it without purpose. </description><link>http://ayende.com/153761/strange-production-errors#comment7</link><guid>http://ayende.com/153761/strange-production-errors#comment7</guid><pubDate>Fri, 04 May 2012 12:28:03 GMT</pubDate></item><item><title>Khalid Abuhakmeh commented on Strange production errors</title><description>So when is RavenVM coming out?</description><link>http://ayende.com/153761/strange-production-errors#comment6</link><guid>http://ayende.com/153761/strange-production-errors#comment6</guid><pubDate>Fri, 04 May 2012 11:38:42 GMT</pubDate></item><item><title>Matt commented on Strange production errors</title><description>I get this quite a lot in our databases.  The source is usually legacy processes that rely on Excel spreadsheets/vba for data loading (yuck).</description><link>http://ayende.com/153761/strange-production-errors#comment5</link><guid>http://ayende.com/153761/strange-production-errors#comment5</guid><pubDate>Fri, 04 May 2012 09:52:23 GMT</pubDate></item><item><title>Mikkel Christensen commented on Strange production errors</title><description>Another problem to watch out for when using the MailAddress constructor:

http://social.msdn.microsoft.com/forums/en-US/netfxnetcom/thread/2217c413-968f-4dcf-8035-45eaf2a3c609
</description><link>http://ayende.com/153761/strange-production-errors#comment4</link><guid>http://ayende.com/153761/strange-production-errors#comment4</guid><pubDate>Fri, 04 May 2012 09:26:21 GMT</pubDate></item><item><title>Nic Wise commented on Strange production errors</title><description>We've just been dealing with something similar.

select id, catnum from table;

1 ABCD-1234
2 ABCD-1234

select id, '[' + catnum + ']' from table;
1 [ABCD-1234]
2 [ABCD-1234

(catnum is ment to be unique, too!)

Got some unicode nonsense going on in there somewhere.... I suspect a newline, but we still can't find it.</description><link>http://ayende.com/153761/strange-production-errors#comment3</link><guid>http://ayende.com/153761/strange-production-errors#comment3</guid><pubDate>Fri, 04 May 2012 09:17:01 GMT</pubDate></item><item><title>Itamar commented on Strange production errors</title><description>This usually happens when you copy-paste from Word. That guy isn't too sophisticated, he is just lazy...</description><link>http://ayende.com/153761/strange-production-errors#comment2</link><guid>http://ayende.com/153761/strange-production-errors#comment2</guid><pubDate>Fri, 04 May 2012 09:11:34 GMT</pubDate></item><item><title>Phil Jones commented on Strange production errors</title><description>Holy crap!

I just debugged the exact same issue on my client's system.

We were all similarly scratching our heads till I had to use to view source.

My solution:

// Remove HTML characters
email = Regex.Replace(email, "&amp;#[0-9]+;", "");

(A big hacky)</description><link>http://ayende.com/153761/strange-production-errors#comment1</link><guid>http://ayende.com/153761/strange-production-errors#comment1</guid><pubDate>Fri, 04 May 2012 09:11:33 GMT</pubDate></item></channel></rss>