Skip to content
Snippets Groups Projects
Commit 84578bf1 authored by Hannes Riebl's avatar Hannes Riebl
Browse files

Fix locale and documentation

parent 56c392bf
No related branches found
No related tags found
No related merge requests found
...@@ -17,6 +17,8 @@ Installation: ...@@ -17,6 +17,8 @@ Installation:
$ sudo apt-get install php-pear $ sudo apt-get install php-pear
$ sudo pear install Auth Mail Mail_Mime Net_SMTP $ sudo pear install Auth Mail Mail_Mime Net_SMTP
Be sure to have the de_DE.utf8 locale available or change it in include/tgSqliteDB.class.php!
2) Put source into your Webserver path (possibly /var/www) 2) Put source into your Webserver path (possibly /var/www)
......
...@@ -58,7 +58,7 @@ class tgSqliteDB { ...@@ -58,7 +58,7 @@ class tgSqliteDB {
$result["pref_uid"] = str_replace(" ", "", $result["pref_uid"]); $result["pref_uid"] = str_replace(" ", "", $result["pref_uid"]);
setlocale(LC_CTYPE, 'de_DE'); setlocale(LC_CTYPE, 'de_DE.utf8');
$result["pref_uid"] = iconv("UTF-8", "ASCII//TRANSLIT", $result["pref_uid"]); $result["pref_uid"] = iconv("UTF-8", "ASCII//TRANSLIT", $result["pref_uid"]);
return $result; return $result;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment