<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:37:43 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>[GODRIVER-2053] Not able to find Chinese character</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-2053</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;I have the following document&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;{{{ &lt;font color=&quot;#ff6f44&quot;&gt;_id&lt;/font&gt;: ObjectId(&lt;font color=&quot;#35de7b&quot;&gt;&quot;60ccadfa1bef75796d4d9739&quot;&lt;/font&gt;),  &lt;font color=&quot;#ff6f44&quot;&gt;id&lt;/font&gt;: &lt;font color=&quot;#35de7b&quot;&gt;&apos;&#35270;&#39057;&apos;&lt;/font&gt;,&lt;br/&gt;
}}}&lt;/p&gt;

&lt;p&gt;It can query when i use MongoSH&lt;/p&gt;

&lt;p&gt;db.myCollection.find({id: &quot;&#35270;&#39057;&quot;}).pretty()&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;But when i use go driver, it return ErrNoDocuments&lt;/p&gt;

&lt;p&gt;&lt;font color=&quot;#a6b2c0&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#61aeef&quot;&gt;FindOne&lt;/font&gt;&lt;font color=&quot;#d19a66&quot;&gt;(ctx&lt;/font&gt;&lt;font color=&quot;#a6b2c0&quot;&gt;, &lt;/font&gt;&lt;font color=&quot;#e5c17c&quot;&gt;bson&lt;/font&gt;&lt;font color=&quot;#a6b2c0&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#c679dd&quot;&gt;M&lt;/font&gt;&lt;font color=&quot;#d19a66&quot;&gt;{&lt;/font&gt;&lt;font color=&quot;#98c379&quot;&gt;&quot;id&quot;&lt;/font&gt;: &lt;font color=&quot;#98c379&quot;&gt;&quot;&#35270;&#39057;&quot;&lt;/font&gt;{color:#d19a66}})&lt;font color=&quot;&quot;&gt;&lt;/font&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="1789665">GODRIVER-2053</key>
            <summary>Not able to find Chinese character</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="10300" iconUrl="https://jira.mongodb.org/images/icons/priorities/medium.svg">Unknown</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="13203">Gone away</resolution>
                                        <assignee username="benji.rewis@mongodb.com">Benji Rewis</assignee>
                                    <reporter username="weilun_95@hotmail.com">Yong Wei Lun</reporter>
                        <labels>
                            <label>post-5.0</label>
                    </labels>
                <created>Fri, 18 Jun 2021 15:00:55 +0000</created>
                <updated>Fri, 27 Oct 2023 20:01:16 +0000</updated>
                            <resolved>Mon, 2 Aug 2021 14:30:43 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="3975473" author="benji.rewis" created="Mon, 2 Aug 2021 14:30:31 +0000"  >&lt;p&gt;Ah very odd &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=weilun_95%40hotmail.com&quot; class=&quot;user-hover&quot; rel=&quot;weilun_95@hotmail.com&quot;&gt;weilun_95@hotmail.com&lt;/a&gt; . I also can&apos;t replicate it on v1.5.3 against a 4.4.6 standalone or replica set. I&apos;ll close this ticket as &quot;Gone Away&quot; for now, but feel free to comment and re-open if you rediscover the issue/have some steps to reproduce it. Thanks again for your report.&lt;/p&gt;</comment>
                            <comment id="3974072" author="weilun_95@hotmail.com" created="Sat, 31 Jul 2021 02:50:25 +0000"  >&lt;p&gt;Hi Benji, so weird that I can&apos;t replicate now. &lt;/p&gt;

&lt;p&gt;Was running on MongoDB 4.4.6 Enterprise and Mongo Go Driver v1.5.3&lt;/p&gt;</comment>
                            <comment id="3973369" author="benji.rewis" created="Fri, 30 Jul 2021 17:55:00 +0000"  >&lt;p&gt;Hello again &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=weilun_95%40hotmail.com&quot; class=&quot;user-hover&quot; rel=&quot;weilun_95@hotmail.com&quot;&gt;weilun_95@hotmail.com&lt;/a&gt;! Apologies for the delay in response and thank you for your patience, we&apos;ve just finished up our high priority work for the 1.6.0 release.&lt;/p&gt;

&lt;p&gt;I&apos;m having trouble reproducing this issue. I&apos;ve attached the code I&apos;m running under &lt;tt&gt;Attachments&lt;/tt&gt; . I can insert an a document with &#35270;&#39057; as the value for &lt;tt&gt;id&lt;/tt&gt; and find it with &lt;tt&gt;FindOne&lt;/tt&gt; using that filter you&apos;ve provided.&lt;/p&gt;

&lt;p&gt;What version of the Mongo Go driver are you using? And, what version of the MongoDB server are you running against?&lt;/p&gt;</comment>
                            <comment id="3891691" author="kevin.albertson" created="Tue, 22 Jun 2021 15:59:07 +0000"  >&lt;p&gt;Hello &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=weilun_95%40hotmail.com&quot; class=&quot;user-hover&quot; rel=&quot;weilun_95@hotmail.com&quot;&gt;weilun_95@hotmail.com&lt;/a&gt; ! Thank you for the report! We will further investigate this after we have completed high priority work for the 1.6.0 release. Thank you for your patience.&lt;/p&gt;</comment>
                            <comment id="3886949" author="weilun_95@hotmail.com" created="Fri, 18 Jun 2021 15:04:39 +0000"  >&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Not able to edit the description above, retype the code snippet here.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Document&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;{ _id: ObjectId(&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&quot;60ccadfa1bef75796d4d9739&quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;),  id: &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&apos;&#35270;&#39057;&apos;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt; }&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;
&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Mongo shell query (can get result)&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;db.myCollection.find({id: &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&quot;&#35270;&#39057;&quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;}).pretty()&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;
&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Go driver query (can&apos;t get result)&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;.FindOne(ctx, bson.M{&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&quot;id&quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;: &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&quot;&#35270;&#39057;&quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;}) &lt;/span&gt;&lt;span style=&quot;color: #008200; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;// returns ErrNoDocuments &lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;
&lt;p&gt;&#160;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="327816" name="char_test.go" size="1135" author="benji.rewis@mongodb.com" created="Fri, 30 Jul 2021 17:55:19 +0000"/>
                    </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|hz7t7b:</customfieldvalue>

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