Lars Wilhelmsen

Microsoft Connected Systems MVP

Skip to: Content | Sidebar | Footer

WCF Test Client doesn’t speak Norwegian…

22 June, 2010 (10:24) | Bug?, WCF | By: larsw

…at least when it comes to handling of decimal numbers – and it probably goes for all other non-English locales that doesn’t use period as the decimal delimiter. If you look closely at the screenshots below, you’ll notice that I’ve entered 2500,00 – that is two thousand comma zero zero in Norwegian. 250000 – two hundred and fifty thousand - gets generated in the SOAP request. If I try to enter 2500.00 (with a period as the delimiter) the UI validation logic tells me (correctly) that it’s an invalid number. Switching to the en-US locale in the Regional settings in Windows, and it behaves normally (e.g. input 2500.00 – output 2500.00 in the SOAP message).

Sigh…

SNAGHTML21f13e78

SNAGHTML21f0fd25

Share and Enjoy:
  • del.icio.us
  • DotNetKicks
  • Digg
  • Google Bookmarks
  • DZone
blog comments powered by Disqus