From: <var...@us...> - 2016-02-11 09:33:25
|
Revision: 9797 http://sourceforge.net/p/phpwiki/code/9797 Author: vargenau Date: 2016-02-11 09:33:23 +0000 (Thu, 11 Feb 2016) Log Message: ----------- Set charset to UTF-8 Modified Paths: -------------- trunk/lib/phpweather-2.2.2/index.php trunk/lib/phpweather-2.2.2/output/pw_text.php trunk/lib/phpweather-2.2.2/output/pw_text_cs.php trunk/lib/phpweather-2.2.2/output/pw_text_da.php trunk/lib/phpweather-2.2.2/output/pw_text_de.php trunk/lib/phpweather-2.2.2/output/pw_text_en_US.php trunk/lib/phpweather-2.2.2/output/pw_text_es.php trunk/lib/phpweather-2.2.2/output/pw_text_fi.php trunk/lib/phpweather-2.2.2/output/pw_text_fr.php trunk/lib/phpweather-2.2.2/output/pw_text_hu.php trunk/lib/phpweather-2.2.2/output/pw_text_it.php trunk/lib/phpweather-2.2.2/output/pw_text_nl.php trunk/lib/phpweather-2.2.2/output/pw_text_no.php trunk/lib/phpweather-2.2.2/output/pw_text_pl.php trunk/lib/phpweather-2.2.2/output/pw_text_pt.php trunk/lib/phpweather-2.2.2/output/pw_text_sk.php trunk/lib/phpweather-2.2.2/output/pw_text_sv.php trunk/lib/phpweather-2.2.2/output/pw_text_tr.php Modified: trunk/lib/phpweather-2.2.2/index.php =================================================================== --- trunk/lib/phpweather-2.2.2/index.php 2016-02-11 09:30:06 UTC (rev 9796) +++ trunk/lib/phpweather-2.2.2/index.php 2016-02-11 09:33:23 UTC (rev 9797) @@ -118,7 +118,7 @@ } if (empty($text)) { - header('Content-Type: text/html; charset=ISO-8859-1'); + header('Content-Type: text/html; charset=UTF-8'); } else { header('Content-Type: text/html; charset=' . $text->get_charset()); } Modified: trunk/lib/phpweather-2.2.2/output/pw_text.php =================================================================== --- trunk/lib/phpweather-2.2.2/output/pw_text.php 2016-02-11 09:30:06 UTC (rev 9796) +++ trunk/lib/phpweather-2.2.2/output/pw_text.php 2016-02-11 09:33:23 UTC (rev 9797) @@ -53,9 +53,7 @@ * * header("Content-Type: text/html; charset=$charset"); * - * @return string The character encoding, e.g. ISO-8859-1 for - * Western languages, ISO-8859-2 for Central European languages and - * so on. + * @return string The character encoding, e.g. UTF-8 */ function get_charset() { return $this->strings['charset']; Modified: trunk/lib/phpweather-2.2.2/output/pw_text_cs.php =================================================================== --- trunk/lib/phpweather-2.2.2/output/pw_text_cs.php 2016-02-11 09:30:06 UTC (rev 9796) +++ trunk/lib/phpweather-2.2.2/output/pw_text_cs.php 2016-02-11 09:33:23 UTC (rev 9797) @@ -27,7 +27,7 @@ */ function pw_text_cs($weather, $input = array()) { - $this->strings['charset'] = 'ISO-8859-2'; + $this->strings['charset'] = 'UTF-8'; $this->strings['no_data'] = 'Lituji, nejsou dostupné žádné informace pro %s%s%s.'; $this->strings['list_sentences_and'] = ' a '; $this->strings['list_sentences_comma'] = ', '; Modified: trunk/lib/phpweather-2.2.2/output/pw_text_da.php =================================================================== --- trunk/lib/phpweather-2.2.2/output/pw_text_da.php 2016-02-11 09:30:06 UTC (rev 9796) +++ trunk/lib/phpweather-2.2.2/output/pw_text_da.php 2016-02-11 09:33:23 UTC (rev 9797) @@ -17,7 +17,7 @@ * @param array This is just passed on to pw_text(). */ function pw_text_da($weather, $input = array()) { - $this->strings['charset'] = 'ISO-8859-1'; + $this->strings['charset'] = 'UTF-8'; $this->strings['no_data'] = 'Desværre! Der er ingen data for %s%s%s.'; $this->strings['list_sentences_and'] = ' og '; $this->strings['list_sentences_comma'] = ', '; Modified: trunk/lib/phpweather-2.2.2/output/pw_text_de.php =================================================================== --- trunk/lib/phpweather-2.2.2/output/pw_text_de.php 2016-02-11 09:30:06 UTC (rev 9796) +++ trunk/lib/phpweather-2.2.2/output/pw_text_de.php 2016-02-11 09:33:23 UTC (rev 9797) @@ -19,7 +19,7 @@ */ function pw_text_de($weather, $input = array()) { - $this->strings['charset'] = 'ISO-8859-1'; + $this->strings['charset'] = 'UTF-8'; $this->strings['no_data'] = 'Für %s%s%s stehen keine DATEN zur Verfügung.'; $this->strings['list_sentences_and'] = ' und '; $this->strings['list_sentences_comma'] = ', '; Modified: trunk/lib/phpweather-2.2.2/output/pw_text_en_US.php =================================================================== --- trunk/lib/phpweather-2.2.2/output/pw_text_en_US.php 2016-02-11 09:30:06 UTC (rev 9796) +++ trunk/lib/phpweather-2.2.2/output/pw_text_en_US.php 2016-02-11 09:33:23 UTC (rev 9797) @@ -18,7 +18,7 @@ * @param array This is just passed on to pw_text(). */ function pw_text_en_US($weather, $input = array()) { - $this->strings['charset'] = 'ISO-8859-1'; + $this->strings['charset'] = 'UTF-8'; $this->strings['no_data'] = 'Sorry! There\'s no data available for %s%s%s.'; $this->strings['list_sentences_and'] = ' and '; $this->strings['list_sentences_comma'] = ', '; Modified: trunk/lib/phpweather-2.2.2/output/pw_text_es.php =================================================================== --- trunk/lib/phpweather-2.2.2/output/pw_text_es.php 2016-02-11 09:30:06 UTC (rev 9796) +++ trunk/lib/phpweather-2.2.2/output/pw_text_es.php 2016-02-11 09:33:23 UTC (rev 9797) @@ -18,7 +18,7 @@ * @param array This is just passed on to pw_text(). */ function pw_text_es($weather, $input = array()) { - $this->strings['charset'] = 'ISO-8859-1'; + $this->strings['charset'] = 'UTF-8'; $this->strings['no_data'] = 'Datos no disponibles para %s%s%s.'; $this->strings['list_sentences_and'] = ' y '; $this->strings['list_sentences_comma'] = ', '; Modified: trunk/lib/phpweather-2.2.2/output/pw_text_fi.php =================================================================== --- trunk/lib/phpweather-2.2.2/output/pw_text_fi.php 2016-02-11 09:30:06 UTC (rev 9796) +++ trunk/lib/phpweather-2.2.2/output/pw_text_fi.php 2016-02-11 09:33:23 UTC (rev 9797) @@ -18,7 +18,7 @@ * @param array This is just passed on to pw_text(). */ function pw_text_fi($weather, $input = array()) { - $this->strings['charset'] = 'ISO-8859-1'; + $this->strings['charset'] = 'UTF-8'; $this->strings['no_data'] = 'Valitan! Ei tietoja saatavilla %s%s%s sääasemalle.'; $this->strings['list_sentences_and'] = ' ja '; $this->strings['list_sentences_comma'] = ', '; Modified: trunk/lib/phpweather-2.2.2/output/pw_text_fr.php =================================================================== --- trunk/lib/phpweather-2.2.2/output/pw_text_fr.php 2016-02-11 09:30:06 UTC (rev 9796) +++ trunk/lib/phpweather-2.2.2/output/pw_text_fr.php 2016-02-11 09:33:23 UTC (rev 9797) @@ -20,7 +20,7 @@ * @param array This is just passed on to pw_text(). */ function pw_text_fr($weather, $input = array()) { - $this->strings['charset'] = 'ISO-8859-1'; + $this->strings['charset'] = 'UTF-8'; $this->strings['no_data'] = 'Désolé! Pas d\'infos disponibles pour %s%s%s.'; $this->strings['list_sentences_and'] = ' et '; $this->strings['list_sentences_comma'] = ', '; Modified: trunk/lib/phpweather-2.2.2/output/pw_text_hu.php =================================================================== --- trunk/lib/phpweather-2.2.2/output/pw_text_hu.php 2016-02-11 09:30:06 UTC (rev 9796) +++ trunk/lib/phpweather-2.2.2/output/pw_text_hu.php 2016-02-11 09:33:23 UTC (rev 9797) @@ -21,7 +21,7 @@ * Ezt a paramétert átadjuk pw_text() -nek. */ function pw_text_hu($weather, $input = array()) { - $this->strings['charset'] = 'ISO-8859-2'; + $this->strings['charset'] = 'UTF-8'; $this->strings['no_data'] = 'Sajnos nincs adat %s%s%s számára.'; $this->strings['list_sentences_and'] = ' és '; $this->strings['list_sentences_comma'] = ', '; Modified: trunk/lib/phpweather-2.2.2/output/pw_text_it.php =================================================================== --- trunk/lib/phpweather-2.2.2/output/pw_text_it.php 2016-02-11 09:30:06 UTC (rev 9796) +++ trunk/lib/phpweather-2.2.2/output/pw_text_it.php 2016-02-11 09:33:23 UTC (rev 9797) @@ -18,7 +18,7 @@ * @param array This is just passed on to pw_text(). */ function pw_text_it($weather, $input = array()) { - $this->strings['charset'] = 'ISO-8859-1'; + $this->strings['charset'] = 'UTF-8'; $this->strings['no_data'] = 'Spiacente! Nessun dato disponibile per %s%s%s.'; $this->strings['list_sentences_and'] = ' e '; $this->strings['list_sentences_comma'] = ', '; Modified: trunk/lib/phpweather-2.2.2/output/pw_text_nl.php =================================================================== --- trunk/lib/phpweather-2.2.2/output/pw_text_nl.php 2016-02-11 09:30:06 UTC (rev 9796) +++ trunk/lib/phpweather-2.2.2/output/pw_text_nl.php 2016-02-11 09:33:23 UTC (rev 9797) @@ -22,7 +22,7 @@ * @param array This is just passed on to pw_text(). */ function pw_text_nl($weather, $input = array()) { - $this->strings['charset'] = 'ISO-8859-1'; + $this->strings['charset'] = 'UTF-8'; $this->strings['no_data'] = 'Sorry! Er is geen informatie beschikbaar voor %s%s%s.'; $this->strings['list_sentences_and'] = ' en '; $this->strings['list_sentences_comma'] = ', '; Modified: trunk/lib/phpweather-2.2.2/output/pw_text_no.php =================================================================== --- trunk/lib/phpweather-2.2.2/output/pw_text_no.php 2016-02-11 09:30:06 UTC (rev 9796) +++ trunk/lib/phpweather-2.2.2/output/pw_text_no.php 2016-02-11 09:33:23 UTC (rev 9797) @@ -17,7 +17,7 @@ * @param array This is just passed on to pw_text(). */ function pw_text_no($weather, $input = array()) { - $this->strings['charset'] = 'ISO-8859-1'; + $this->strings['charset'] = 'UTF-8'; $this->strings['no_data'] = 'Beklager! Det var ingen ingen data tilgjengelig for %s%s%s.'; $this->strings['list_sentences_and'] = ' og '; $this->strings['list_sentences_comma'] = ', '; Modified: trunk/lib/phpweather-2.2.2/output/pw_text_pl.php =================================================================== --- trunk/lib/phpweather-2.2.2/output/pw_text_pl.php 2016-02-11 09:30:06 UTC (rev 9796) +++ trunk/lib/phpweather-2.2.2/output/pw_text_pl.php 2016-02-11 09:33:23 UTC (rev 9797) @@ -18,7 +18,7 @@ * @param array This is just passed on to pw_text(). */ function pw_text_pl($weather, $input = array()) { - $this->strings['charset'] = 'ISO-8859-2'; + $this->strings['charset'] = 'UTF-8'; $this->strings['no_data'] = 'Przepraszamy! Nie ma danych dostępnych dla %s%s%s.'; $this->strings['list_sentences_and'] = ' i '; $this->strings['list_sentences_comma'] = ', '; Modified: trunk/lib/phpweather-2.2.2/output/pw_text_pt.php =================================================================== --- trunk/lib/phpweather-2.2.2/output/pw_text_pt.php 2016-02-11 09:30:06 UTC (rev 9796) +++ trunk/lib/phpweather-2.2.2/output/pw_text_pt.php 2016-02-11 09:33:23 UTC (rev 9797) @@ -18,7 +18,7 @@ * @param array This is just passed on to pw_text(). */ function pw_text_pt($weather, $input = array()) { - $this->strings['charset'] = 'ISO-8859-1'; + $this->strings['charset'] = 'UTF-8'; $this->strings['no_data'] = 'Dado não disponiveis para %s%s%s.'; $this->strings['list_sentences_and'] = ' e '; $this->strings['list_sentences_comma'] = ', '; Modified: trunk/lib/phpweather-2.2.2/output/pw_text_sk.php =================================================================== --- trunk/lib/phpweather-2.2.2/output/pw_text_sk.php 2016-02-11 09:30:06 UTC (rev 9796) +++ trunk/lib/phpweather-2.2.2/output/pw_text_sk.php 2016-02-11 09:33:23 UTC (rev 9797) @@ -24,7 +24,7 @@ */ function pw_text_sk($weather, $input = array()) { - $this->strings['charset'] = 'ISO-8859-2'; + $this->strings['charset'] = 'UTF-8'; $this->strings['no_data'] = 'Ľutujem, momentálne nie sú dostupné žiadne informácie pre %s%s%s.'; $this->strings['list_sentences_and'] = ' a '; $this->strings['list_sentences_comma'] = ', '; Modified: trunk/lib/phpweather-2.2.2/output/pw_text_sv.php =================================================================== --- trunk/lib/phpweather-2.2.2/output/pw_text_sv.php 2016-02-11 09:30:06 UTC (rev 9796) +++ trunk/lib/phpweather-2.2.2/output/pw_text_sv.php 2016-02-11 09:33:23 UTC (rev 9797) @@ -18,7 +18,7 @@ * @param array This is just passed on to pw_text(). */ function pw_text_sv($weather, $input = array()) { - $this->strings['charset'] = 'ISO-8859-1'; + $this->strings['charset'] = 'UTF-8'; $this->strings['no_data'] = 'Beklagar! Det finns ingen data tillgänglig för %s%s%s.'; $this->strings['list_sentences_and'] = ' och '; $this->strings['list_sentences_comma'] = ', '; Modified: trunk/lib/phpweather-2.2.2/output/pw_text_tr.php =================================================================== --- trunk/lib/phpweather-2.2.2/output/pw_text_tr.php 2016-02-11 09:30:06 UTC (rev 9796) +++ trunk/lib/phpweather-2.2.2/output/pw_text_tr.php 2016-02-11 09:33:23 UTC (rev 9797) @@ -17,7 +17,7 @@ * @param array This is just passed on to pw_text(). */ function pw_text_tr($weather, $input = array()) { - $this->strings['charset'] = 'ISO-8859-9'; + $this->strings['charset'] = 'UTF-8'; $this->strings['no_data'] = 'Üzgünüz! %s%s%s için veri bulunmuyor.'; $this->strings['list_sentences_and'] = ' ve '; $this->strings['list_sentences_comma'] = ', '; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |