Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.
helmuth

setlocale(LC_TIME

by helmuth, Last updated on 5 months ago in Locales Forum - 8
this is the English setting in global.php

setlocale(LC_TIME, "en_GB.utf8"wink; // Linux Server (Windows may differ)

where to find the correct Danish setting? I've been googling and searching and searching and googling with no result :-(
Danish translator of PHP-Fusion
-----------------------------------------
All people are born alike - except Republicans and Democrats. (Groucho Marx)
https://github.com/php-fusion/PHP-Fus...al.php#L20
PHP-Fusion Development Manager
Web Designer/Developer: GitHub
http://kidsvolley-kerteminde.dk/v8/ne...8/news.php

look at footer at the above link

and compare with http://kidsvolley-kerteminde.dk/news.php

settings in global.php:

setlocale( LC_ALL, "da", "dan", "da_DK", "da_DK.ISO8859-1", "danish" );
setlocale(LC_TIME, "da","DA"); // Linux Server (Windows may differ)
Danish translator of PHP-Fusion
-----------------------------------------
All people are born alike - except Republicans and Democrats. (Groucho Marx)
You need
setlocale( LC_ALL, "da", "dan", "da_DK", "da_DK.DK.UTF-8", "danish" );

Also the files must be UTF-8 as well as the database. In some instances you can get away with using Ansi if both files and Locale is set to Windows-1252 ( Ansi ).
But I would never recommended to try and cross breed them formats.

It boils down to 3 things
Database = UTF-8
Locale settings in the global = UTF-8
File format of the actual render and locale files = UTF-8
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Please read and comply with the Code of Conduct

(¯`·._.·(¯`°·._.·°º*[ Project Manager ]*º°·._.·°´¯)·._.·´¯)
the right collation in the database is that:

utf8_unicode_ci

or should it be another?
Danish translator of PHP-Fusion
-----------------------------------------
All people are born alike - except Republicans and Democrats. (Groucho Marx)
That is correct.
RobiNN linked how the locale/lang/global.php should be set and you returned a faulty line ( ISO ) together with your example of the issue.
Update your global with above and make sure all is converted to UTF-8 and it should fix it for you.
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Please read and comply with the Code of Conduct

(¯`·._.·(¯`°·._.·°º*[ Project Manager ]*º°·._.·°´¯)·._.·´¯)
You can view all discussion threads in this forum.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
Users who participated in discussion: helmuth, Falk, RobiNN