<!--
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Tue Jun 18 04:53:50 UTC 2013

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 add field=key&field=summary to the URL of your request.
For example:
http://www.doctrine-project.org/jira/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+10032+AND+labels+%3D+utf8&tempMax=1000&field=key&field=summary
-->
<!-- If you wish to do custom client-side styling of RSS, uncomment this:
<?xml-stylesheet href="http://www.doctrine-project.org/jira/styles/jiraxml2html.xsl" type="text/xsl"?>
-->
<rss version="0.92">
    <channel>
        <title>Doctrine Project</title>
        <link>http://www.doctrine-project.org/jira/secure/IssueNavigator.jspa?reset=true&amp;jqlQuery=project+%3D+10032+AND+labels+%3D+utf8</link>
        <description>An XML representation of a search request</description>
                <language>en-us</language>
                        <issue start="0" end="1" total="1"/>
                <build-info>
            <version>5.2.7</version>
            <build-number>850</build-number>
            <build-date>21-02-2013</build-date>
        </build-info>
<item>
            <title>[DDC-2139] Table collate/charset doesn&apos;t inherits from database</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2139</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;Using symfony2 command doctrine:schema:create the tables and Varchar fields are Collate/Charset are not inherited from database. I changed MySQL defaults to latin1/latin1_general_ci; The doctrine:database:create works; but tables and fields don&apos;t. So I found there is a code on MySqlPlataform.php:&lt;/p&gt;

&lt;p&gt;if ( ! isset($options&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;charset&amp;#39;&amp;#93;&lt;/span&gt;)) &lt;/p&gt;
{
  $options[&apos;charset&apos;] = &apos;utf8&apos;;
}

&lt;p&gt;if ( ! isset($options&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;collate&amp;#39;&amp;#93;&lt;/span&gt;)) &lt;/p&gt;
{
  $options[&apos;collate&apos;] = &apos;utf8_unicode_ci&apos;;
}

&lt;p&gt;$query .= &apos;DEFAULT CHARACTER SET &apos; . $options&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;charset&amp;#39;&amp;#93;&lt;/span&gt;;&lt;br/&gt;
$query .= &apos; COLLATE &apos; . $options&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;collate&amp;#39;&amp;#93;&lt;/span&gt;;&lt;/p&gt;

&lt;p&gt;So if you don&apos;t pass collate and charset as entity options, it will put utf8 and utf8_unicode_ci instead of dabatase default charset.&lt;/p&gt;

&lt;p&gt;My suggestion is to change a little bit to:&lt;/p&gt;

&lt;p&gt;if (isset($options&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;charset&amp;#39;&amp;#93;&lt;/span&gt;)) &lt;/p&gt;
{
  $query .= &apos;DEFAULT CHARACTER SET &apos; . $options[&apos;charset&apos;];
}

&lt;p&gt;if (isset($options&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;collate&amp;#39;&amp;#93;&lt;/span&gt;)) &lt;/p&gt;
{
  $query .= &apos; COLLATE &apos; . $options[&apos;collate&apos;];        
}
</description>
                <environment>Symfony2</environment>
            <key id="14217">DDC-2139</key>
            <summary>Table collate/charset doesn&apos;t inherits from database</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="2">Won&apos;t Fix</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="williamk">William Knak</reporter>
                        <labels>
                        <label>charset</label>
                        <label>collate</label>
                        <label>collation</label>
                        <label>mysql</label>
                        <label>utf</label>
                        <label>utf8</label>
                    </labels>
                <created>Mon, 12 Nov 2012 15:29:22 +0000</created>
                <updated>Sun, 25 Nov 2012 12:25:30 +0000</updated>
                    <resolved>Sun, 25 Nov 2012 12:25:30 +0000</resolved>
                            <version>2.3</version>
                                                <component>ORM</component>
                <component>Tools</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19053" author="beberlei" created="Sun, 25 Nov 2012 12:25:30 +0000"  >&lt;p&gt;If we change it, then it will be like before and users disliked that very much. The decision is to use UTF-8 as default and everybody else has to change the information instead of the other way around.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>