<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:37:34 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[CSHARP-694] Provide some way for the C# driver to be more lenient about UTF8 validity</title>
                <link>https://jira.mongodb.org/browse/CSHARP-694</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;The C# driver sets .NET&apos;s throwOnInvalidBytes argument to true when constructing a UTF8Encoding object. This results in exceptions being thrown when attempting to decode invalid UTF8 returned from the server.&lt;/p&gt;

&lt;p&gt;This is generally a good thing, so this should remain the default, but there are cases where other drivers (or mongoimport) create and store UTF8 that is not 100% UTF8 compliant and it would be useful to have a setting that tells the C# driver to be more tolerant of invalid UTF8 returned from the server.&lt;/p&gt;

&lt;p&gt;Note that round tripping a document that contains invalid UTF8 would then result in the document changing slightly, since the invalid UTF8 characters would be replaced by the Unicode character sequence for an invalid code point (\uFFFD\uFFFD). The new document would only differ where invalid code points were present, and the new document would now be 100% UTF8 compliant.&lt;/p&gt;</description>
                <environment></environment>
        <key id="66968">CSHARP-694</key>
            <summary>Provide some way for the C# driver to be more lenient about UTF8 validity</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="robert@mongodb.com">Robert Stam</assignee>
                                    <reporter username="robert@mongodb.com">Robert Stam</reporter>
                        <labels>
                    </labels>
                <created>Fri, 1 Mar 2013 15:16:28 +0000</created>
                <updated>Thu, 3 Jul 2014 21:08:29 +0000</updated>
                            <resolved>Tue, 19 Mar 2013 03:28:55 +0000</resolved>
                                    <version>1.7.1</version>
                                    <fixVersion>1.8</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="292667" author="auto" created="Tue, 19 Mar 2013 03:25:55 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2013-03-18T21:34:39Z&apos;, u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-694&quot; title=&quot;Provide some way for the C# driver to be more lenient about UTF8 validity&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-694&quot;&gt;&lt;del&gt;CSHARP-694&lt;/del&gt;&lt;/a&gt;: Added ReadEncoding and WriteEncoding to MongoDefaults and tweaked ToString output.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/c68130609c998b657e246687767ae03fa02a3940&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/c68130609c998b657e246687767ae03fa02a3940&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="292666" author="auto" created="Tue, 19 Mar 2013 03:25:53 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2013-03-18T20:37:51Z&apos;, u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-694&quot; title=&quot;Provide some way for the C# driver to be more lenient about UTF8 validity&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-694&quot;&gt;&lt;del&gt;CSHARP-694&lt;/del&gt;&lt;/a&gt;: Added ReadEncoding and WriteEncoding to MongoClientSettings also.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/788edb740a38b389738cd6edc20337411861c4ec&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/788edb740a38b389738cd6edc20337411861c4ec&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="292327" author="rstam" created="Mon, 18 Mar 2013 19:52:18 +0000"  >&lt;p&gt;ReadEncoding and WriteEncoding need to be added to MongoClientSettings also.&lt;/p&gt;</comment>
                            <comment id="281750" author="auto" created="Tue, 5 Mar 2013 14:23:18 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2013-03-05T02:59:13Z&apos;, u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-694&quot; title=&quot;Provide some way for the C# driver to be more lenient about UTF8 validity&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-694&quot;&gt;&lt;del&gt;CSHARP-694&lt;/del&gt;&lt;/a&gt;: Added unit tests for using different Encodings with JsonReader(Writer). Realized that the Encoding is actually set at the StreamReader(Writer) level so JsonReader(Writer)Settings don&apos;t need an Encoding property.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/1f520429c44c2b852f0f50ef772de369e9d71208&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/1f520429c44c2b852f0f50ef772de369e9d71208&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="281262" author="auto" created="Mon, 4 Mar 2013 21:54:36 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2013-03-04T21:51:08Z&apos;, u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-694&quot; title=&quot;Provide some way for the C# driver to be more lenient about UTF8 validity&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-694&quot;&gt;&lt;del&gt;CSHARP-694&lt;/del&gt;&lt;/a&gt;: Change values in unit tests to use values that fail in the same way in Mono as in .NET.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/a672a75a1ef0f6d3395312e9515bfaf635b91340&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/a672a75a1ef0f6d3395312e9515bfaf635b91340&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="281155" author="auto" created="Mon, 4 Mar 2013 20:09:11 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2013-03-04T17:20:52Z&apos;, u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-694&quot; title=&quot;Provide some way for the C# driver to be more lenient about UTF8 validity&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-694&quot;&gt;&lt;del&gt;CSHARP-694&lt;/del&gt;&lt;/a&gt;: Provide a way to be more lenient about UTF8 validity.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/849a6405c52ccff81ee051bbedafba43ef4759d7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/849a6405c52ccff81ee051bbedafba43ef4759d7&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="145261">PYTHON-721</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="145271">JAVA-1305</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrmg93:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>44596</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>