<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 7: conversion of exception to string fails if non-ASCII message</title><link>https://sourceforge.net/p/pythonnet/bugs/7/</link><description>Recent changes to 7: conversion of exception to string fails if non-ASCII message</description><atom:link href="https://sourceforge.net/p/pythonnet/bugs/7/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 02 Nov 2006 09:31:41 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/pythonnet/bugs/7/feed.rss" rel="self" type="application/rss+xml"/><item><title>conversion of exception to string fails if non-ASCII message</title><link>https://sourceforge.net/p/pythonnet/bugs/7/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;When Python.NET catches a form the CLR code, it tries a&lt;br /&gt;
conversion to a string. This conversion fails if the&lt;br /&gt;
exception message contains non-ASCII chars(&amp;gt;= 128).&lt;/p&gt;
&lt;p&gt;This is particularly bad because with non-english&lt;br /&gt;
versions of the .NET framework the exception messages&lt;br /&gt;
are localized. (In german, many exception texts contain&lt;br /&gt;
"äöü", causing the described error)&lt;/p&gt;
&lt;p&gt;Result: &lt;br /&gt;
- The user gets an error message of the form&lt;br /&gt;
"SomeDotNetExceptionType: &amp;lt;Unprintable exception message&amp;gt;"&lt;br /&gt;
- The "testStrOfException" unit test inside&lt;br /&gt;
"test_exceptions.py" fails.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 02 Nov 2006 09:31:41 -0000</pubDate><guid>https://sourceforge.netbc4a7a10735f76d492dfa2f12858d1c9073e0c10</guid></item></channel></rss>