On 10/9/07, <b class="gmail_sendername">Michael T. Dean</b> &lt;<a href="mailto:mtdean@thirdcontact.com">mtdean@thirdcontact.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 10/09/2007 03:50 PM, Joacim J wrote:<br>&gt; I have problems with swedish characters in the database and showing it<br>&gt; in myth.<br>&gt;<br>&gt; The mysql collation is &quot;latin1_swedish_ci&quot; and the database server has
<br>&gt; &quot;UTF-8 Unicode (utf8)&quot;<br>&gt;<br>&gt; Should I have collation &quot;utf8_swedish_ci&quot; instead??<br><br>No.&nbsp;&nbsp;And, if you change it now, though things will appear to work, when<br>you upgrade in the future, not only will Myth break, but all your data
<br>will break.&nbsp;&nbsp;Changing the encoding is a database time bomb.&nbsp;&nbsp;Every<br>post/HOWTO where people suggest this is just setting someone up for a<br>big problem in the future.<br><br>Why:<br><a href="http://www.gossamer-threads.com/lists/mythtv/commits/264510#264510">
http://www.gossamer-threads.com/lists/mythtv/commits/264510#264510</a><br><a href="http://www.gossamer-threads.com/lists/mythtv/dev/227559#227559">http://www.gossamer-threads.com/lists/mythtv/dev/227559#227559</a><br><br>
So, what you need to do is find the locations where we&#39;re missing the<br>UTF encode/decode in the MythTV source code and submit a patch.<br><br>Mike</blockquote><div><br></div></div>Hello,<br><br>Just so I understand it. Swedish characters are not encoded/decoded correctly and should be considered as a Myth bug. The data in mysql is (should be) always UTF-8??
<br><br>Is this a correct understanding??<br>-- <br>Regards<br>Joacim