<br><br><div><span class="gmail_quote">2007/4/18, Marcel Wiesweg <<a href="mailto:marcel.wiesweg@gmx.de">marcel.wiesweg@gmx.de</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>I have a question about some historic piece of code in the AlbumManager:<br>Does anyone know for what purpose the Locale is stored in the database?</blockquote><div><br>Good question. I don't have any idea exactly. When DB stuff have been implemented by Renchi between 2005-2006, i have works on DigikamImagePlugins.
<br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">In the db, strings are stored in UTF-8 anyway, and the locale setting is never
<br>used. The setting is used only for generating a warning when the locale has<br>changed.</blockquote><div><br>Strange. i'm so supprising about this from Renchi. <br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
This warning is useful when a user has changed his system charset (to UTF-8)<br>and did not rename the filenames accordingly. But the error message speaks<br>about "This can cause unexpected problems".<br>Not very helpful for the user. Is anyone aware of problems other than the
<br>file-renaming requirement?</blockquote><div><br>Is the Locale will be used to encode files path on file system. Right ? If you change it the non ascii char will be changed. <br><br>We have recieve a lots of message on ML about this problem when all Linux dist have toggle an UTF-8 locale...
<br><br>I remenber when i have installed Mandriva 2006 witch use a locale UTF-8 instead ISO 8859-15 than all my dir in /home/gilles have been changed, especially the non ascii char.<br><br>Like all Linux dist use UTF-8 now it will not a problem.
<br><br>Question : the sqlite source code do not use Locale settings ?<br><br>Gilles</div></div><br>