<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:53:35 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>[SERVER-272] Foreign characters in shell</title>
                <link>https://jira.mongodb.org/browse/SERVER-272</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I&apos;m trying to type in my name in the db shell, which is &quot;Sandstr&#246;m&quot;. The same goes for &#229; and &#228;.&lt;/p&gt;

&lt;p&gt;&amp;gt; use staging                                                                &lt;br/&gt;
switched to db staging&lt;br/&gt;
&amp;gt; db.users.findOne({lastname:&quot;Sandstr     &lt;br/&gt;
-------- [ now I press the character &#246; on my keyboard ] --------&lt;br/&gt;
(arg: 6) db.users.findOne({lastname:&quot;Sandstr&lt;/p&gt;


&lt;p&gt;As can be seen no &#246; is shown and &quot;(arg: 6)&quot; shows up instead. &lt;/p&gt;

&lt;p&gt;It should be possible to emulate this by choosing the Swedish keyboard layout in OS X and then pressing the key to the right of &quot;L&quot; on an american keyboard. Use the keyboard viewer from &#187;International&#171; if you have trouble finding the &#246; key. Don&apos;t know if linux have similar capabilities for changing keyboard layouts virtually.&lt;/p&gt;</description>
                <environment>OS X 10.5</environment>
        <key id="10517">SERVER-272</key>
            <summary>Foreign characters in shell</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="3">Duplicate</resolution>
                                        <assignee username="tad">Tad Marshall</assignee>
                                    <reporter username="sandstrom">sandstrom</reporter>
                        <labels>
                    </labels>
                <created>Mon, 31 Aug 2009 09:17:02 +0000</created>
                <updated>Tue, 29 May 2012 14:53:20 +0000</updated>
                            <resolved>Thu, 17 Nov 2011 20:35:41 +0000</resolved>
                                    <version>0.9.7</version>
                                                    <component>Shell</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="67472" author="tad" created="Thu, 17 Nov 2011 20:35:41 +0000"  >&lt;p&gt;Closing as a duplicate (after linking to master ticket).&lt;/p&gt;</comment>
                            <comment id="67445" author="tad" created="Thu, 17 Nov 2011 19:10:02 +0000"  >&lt;p&gt;This should be fixed when Unicode support is running.&lt;/p&gt;</comment>
                            <comment id="17929" author="matthiasg" created="Thu, 9 Sep 2010 08:11:24 +0000"  >&lt;p&gt;On windows (win 7 64) the shell does also not crash but shows a &quot;malformed UTF-8 character sequence&quot; error message.&lt;/p&gt;

&lt;p&gt;Also when finding without qualifier the results show incorrect ASCII characters instead of the correct UTF-8 character that is returned with the drivers. E.g. instead of &#220; in German it returns a angled pipe symbol. Obviously the shell is interpreting or at least outputting data as ASCII not UTF-8.&lt;/p&gt;

&lt;p&gt;tested with 1.6.2&lt;/p&gt;</comment>
                            <comment id="12264" author="mike" created="Thu, 11 Feb 2010 15:01:14 +0000"  >&lt;p&gt;seeing the same behavior as on 10.5 - libreadline is still symlinked to libedit as well...&lt;/p&gt;</comment>
                            <comment id="12263" author="mike" created="Thu, 11 Feb 2010 14:58:11 +0000"  >&lt;p&gt;testing now.&lt;/p&gt;</comment>
                            <comment id="12262" author="eliot" created="Thu, 11 Feb 2010 14:55:12 +0000"  >&lt;p&gt;has anyone tested 10.6?&lt;/p&gt;</comment>
                            <comment id="10942" author="eliot" created="Sat, 17 Oct 2009 09:21:48 +0000"  >&lt;p&gt;Have we tried this on 10.6?  Any better?&lt;/p&gt;</comment>
                            <comment id="10854" author="sandstrom" created="Tue, 6 Oct 2009 16:19:41 +0000"  >&lt;p&gt;&#229;&#228;&#246; and similar characters used to work a few versions back, if I&apos;m not mistaken.&lt;/p&gt;</comment>
                            <comment id="10616" author="mike" created="Tue, 1 Sep 2009 17:22:59 +0000"  >&lt;p&gt;the problem is that on OS X builds we link against the libreadline in /usr/lib, which is actually just a symlink for libedit, which doesn&apos;t support international character input.&lt;/p&gt;

&lt;p&gt;we probably should make linking against an actual readline (via macports or something) preferable to linking against libedit, but need to take a look at this with eliot because there were some earlier issues with something along those lines.&lt;/p&gt;</comment>
                            <comment id="10603" author="sandstrom" created="Mon, 31 Aug 2009 18:00:44 +0000"  >&lt;p&gt;Still running 0.9.7 if that would make a difference.&lt;/p&gt;</comment>
                            <comment id="10600" author="mike" created="Mon, 31 Aug 2009 11:19:03 +0000"  >&lt;p&gt;Could not reproduce exactly on OS X 10.5, MongoDB 1.0 - I don&apos;t see the character but I also don&apos;t get (arg: 6). Since the character shows up on the regular terminal view fine it looks like it might be an issue with the mongo shell - will look into it.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="16088">SERVER-2939</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>11.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 31 Aug 2009 11:19:03 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 years, 13 weeks, 6 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ian@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            12 years, 13 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>matthiasg</customfieldvalue>
            <customfieldvalue>mike</customfieldvalue>
            <customfieldvalue>sandstrom</customfieldvalue>
            <customfieldvalue>tad</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hriisv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrivcv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>23733</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hri787:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>