Commit 369aa14f9eb341454c6929fb4014ae63faae4845
1 parent
7f01bcbd
Exists in
master
Corrigido código errado de encode nos arquivos xml;
portabilis/ieducar#167
Showing
54 changed files
with
102 additions
and
106 deletions
Show diff stats
ieducar/intranet/educar_acervo_colecao_xml.php
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
33 | 33 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
34 | 34 | |
35 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
35 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
36 | 36 | |
37 | 37 | if( is_numeric( $_GET["bib"] ) ) |
38 | 38 | { |
... | ... | @@ -56,4 +56,4 @@ |
56 | 56 | } |
57 | 57 | } |
58 | 58 | echo "</query>"; |
59 | -?> | |
60 | 59 | \ No newline at end of file |
60 | +?> | ... | ... |
ieducar/intranet/educar_acervo_editora_xml.php
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
33 | 33 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
34 | 34 | |
35 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
35 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
36 | 36 | |
37 | 37 | if( is_numeric( $_GET["bib"] ) ) |
38 | 38 | { |
... | ... | @@ -56,4 +56,4 @@ |
56 | 56 | } |
57 | 57 | } |
58 | 58 | echo "</query>"; |
59 | -?> | |
60 | 59 | \ No newline at end of file |
60 | +?> | ... | ... |
ieducar/intranet/educar_aluno_cad_xml.php
... | ... | @@ -38,7 +38,7 @@ require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
38 | 38 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
39 | 39 | |
40 | 40 | if ($_GET['cpf'] || $_GET['idpes']) { |
41 | - $xml = '<?xml version="1.0" encoding="ISO-8859-15"?>' . PHP_EOL; | |
41 | + $xml = '<?xml version="1.0" encoding="UTF-8"?>' . PHP_EOL; | |
42 | 42 | $xml .= '<query xmlns="sugestoes">' . PHP_EOL; |
43 | 43 | $xml .= '<dados>' . PHP_EOL; |
44 | 44 | |
... | ... | @@ -462,4 +462,4 @@ if ($_GET['cpf'] || $_GET['idpes']) { |
462 | 462 | $xml .= '</query>'; |
463 | 463 | |
464 | 464 | echo $xml; |
465 | -} | |
466 | 465 | \ No newline at end of file |
466 | +} | ... | ... |
ieducar/intranet/educar_alunos_beneficios_xml.php
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
33 | 33 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
34 | 34 | |
35 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
35 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
36 | 36 | |
37 | 37 | if( is_numeric( $_GET["inst"] ) ) |
38 | 38 | { |
... | ... | @@ -82,4 +82,4 @@ |
82 | 82 | } |
83 | 83 | } |
84 | 84 | echo "</query>"; |
85 | -?> | |
86 | 85 | \ No newline at end of file |
86 | +?> | ... | ... |
ieducar/intranet/educar_ano_letivo_modulo_xml.php
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
33 | 33 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
34 | 34 | |
35 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
35 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
36 | 36 | |
37 | 37 | if( is_numeric( $_GET["esc"] ) ) |
38 | 38 | { |
... | ... | @@ -66,4 +66,4 @@ |
66 | 66 | } |
67 | 67 | } |
68 | 68 | echo "</query>"; |
69 | -?> | |
70 | 69 | \ No newline at end of file |
70 | +?> | ... | ... |
ieducar/intranet/educar_biblioteca_xml.php
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
33 | 33 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
34 | 34 | |
35 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
35 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
36 | 36 | |
37 | 37 | if( is_numeric( $_GET["ins"] ) ) |
38 | 38 | { |
... | ... | @@ -109,4 +109,4 @@ |
109 | 109 | } |
110 | 110 | } |
111 | 111 | echo "</query>"; |
112 | -?> | |
113 | 112 | \ No newline at end of file |
113 | +?> | ... | ... |
ieducar/intranet/educar_colecao_xml.php
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
33 | 33 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn($xmlns = 'colecoes'); |
34 | 34 | |
35 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"colecoes\">\n"; | |
35 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"colecoes\">\n"; | |
36 | 36 | |
37 | 37 | if( is_numeric( $_GET["bib"] ) ) |
38 | 38 | { |
... | ... | @@ -61,4 +61,4 @@ |
61 | 61 | } |
62 | 62 | } |
63 | 63 | echo "</query>"; |
64 | -?> | |
65 | 64 | \ No newline at end of file |
65 | +?> | ... | ... |
ieducar/intranet/educar_curso_matricula_xml.php
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
33 | 33 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
34 | 34 | |
35 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
35 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
36 | 36 | |
37 | 37 | if( is_numeric( $_GET["alu"] ) && is_numeric( $_GET["ins"] ) ) |
38 | 38 | { |
... | ... | @@ -149,4 +149,4 @@ |
149 | 149 | } |
150 | 150 | } |
151 | 151 | echo "</query>"; |
152 | -?> | |
153 | 152 | \ No newline at end of file |
153 | +?> | ... | ... |
ieducar/intranet/educar_curso_serie_xml.php
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
33 | 33 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
34 | 34 | |
35 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
35 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
36 | 36 | if( is_numeric( $_GET["esc"] ) && is_numeric( $_GET["cur"] ) ) |
37 | 37 | { |
38 | 38 | $db = new clsBanco(); |
... | ... | @@ -45,4 +45,4 @@ |
45 | 45 | } |
46 | 46 | } |
47 | 47 | echo "</query>"; |
48 | -?> | |
49 | 48 | \ No newline at end of file |
49 | +?> | ... | ... |
ieducar/intranet/educar_curso_xml.php
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
33 | 33 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
34 | 34 | |
35 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
35 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
36 | 36 | if( is_numeric( $_GET["ins"] ) && ( $_GET["sem"] == "true" ) ) |
37 | 37 | { |
38 | 38 | $db = new clsBanco(); |
... | ... | @@ -97,4 +97,4 @@ |
97 | 97 | } |
98 | 98 | } |
99 | 99 | echo "</query>"; |
100 | -?> | |
101 | 100 | \ No newline at end of file |
101 | +?> | ... | ... |
ieducar/intranet/educar_curso_xml2.php
... | ... | @@ -32,11 +32,7 @@ |
32 | 32 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
33 | 33 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
34 | 34 | |
35 | -<<<<<<< HEAD | |
36 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
37 | -======= | |
38 | 35 | echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; |
39 | ->>>>>>> 89ed328... Corrigido problema ao selecionar curso no cadastro de escola; | |
40 | 36 | |
41 | 37 | if( is_numeric( $_GET["ins"] ) ) |
42 | 38 | { | ... | ... |
ieducar/intranet/educar_disciplina_xml.php
... | ... | @@ -36,7 +36,7 @@ require_once 'include/funcoes.inc.php'; |
36 | 36 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
37 | 37 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
38 | 38 | |
39 | -echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
39 | +echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
40 | 40 | |
41 | 41 | $componentes = array(); |
42 | 42 | |
... | ... | @@ -71,4 +71,4 @@ foreach ($componentes as $componente) { |
71 | 71 | $componente->id, $componente->cargaHoraria, $componente, PHP_EOL); |
72 | 72 | } |
73 | 73 | |
74 | -echo "</query>"; | |
75 | 74 | \ No newline at end of file |
75 | +echo "</query>"; | ... | ... |
ieducar/intranet/educar_editora_xml.php
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
33 | 33 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn('colecoes'); |
34 | 34 | |
35 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"colecoes\">\n"; | |
35 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"colecoes\">\n"; | |
36 | 36 | |
37 | 37 | if( is_numeric( $_GET["bib"] ) ) |
38 | 38 | { |
... | ... | @@ -61,4 +61,4 @@ |
61 | 61 | } |
62 | 62 | } |
63 | 63 | echo "</query>"; |
64 | -?> | |
65 | 64 | \ No newline at end of file |
65 | +?> | ... | ... |
ieducar/intranet/educar_escola_ano_letivo_xml.php
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
33 | 33 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
34 | 34 | |
35 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
35 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
36 | 36 | if( is_numeric( $_GET["esc"] ) ) |
37 | 37 | { |
38 | 38 | |
... | ... | @@ -62,4 +62,4 @@ |
62 | 62 | } |
63 | 63 | |
64 | 64 | echo "</query>"; |
65 | -?> | |
66 | 65 | \ No newline at end of file |
66 | +?> | ... | ... |
ieducar/intranet/educar_escola_comodo_xml.php
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
33 | 33 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
34 | 34 | |
35 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
35 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
36 | 36 | if( is_numeric( $_GET["esc"] ) ) |
37 | 37 | { |
38 | 38 | $db = new clsBanco(); |
... | ... | @@ -58,4 +58,4 @@ |
58 | 58 | } |
59 | 59 | } |
60 | 60 | echo "</query>"; |
61 | -?> | |
62 | 61 | \ No newline at end of file |
62 | +?> | ... | ... |
ieducar/intranet/educar_escola_curso_serie_xml.php
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
33 | 33 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
34 | 34 | |
35 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
35 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
36 | 36 | if( is_numeric( $_GET["esc"] ) && is_numeric( $_GET["cur"] ) ) |
37 | 37 | { |
38 | 38 | $db = new clsBanco(); |
... | ... | @@ -58,4 +58,4 @@ |
58 | 58 | } |
59 | 59 | } |
60 | 60 | echo "</query>"; |
61 | -?> | |
62 | 61 | \ No newline at end of file |
62 | +?> | ... | ... |
ieducar/intranet/educar_escola_localizacao_xml.php
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
33 | 33 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
34 | 34 | |
35 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
35 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
36 | 36 | |
37 | 37 | if( is_numeric( $_GET["ins"] ) ) |
38 | 38 | { |
... | ... | @@ -62,4 +62,4 @@ |
62 | 62 | } |
63 | 63 | } |
64 | 64 | echo "</query>"; |
65 | -?> | |
66 | 65 | \ No newline at end of file |
66 | +?> | ... | ... |
ieducar/intranet/educar_escola_rede_ensino_xml.php
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
33 | 33 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
34 | 34 | |
35 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
35 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
36 | 36 | |
37 | 37 | if( is_numeric( $_GET["ins"] ) ) |
38 | 38 | { |
... | ... | @@ -62,4 +62,4 @@ |
62 | 62 | } |
63 | 63 | } |
64 | 64 | echo "</query>"; |
65 | -?> | |
66 | 65 | \ No newline at end of file |
66 | +?> | ... | ... |
ieducar/intranet/educar_escola_serie_hora_xml.php
... | ... | @@ -36,7 +36,7 @@ require_once 'include/funcoes.inc.php'; |
36 | 36 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
37 | 37 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
38 | 38 | |
39 | -echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
39 | +echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
40 | 40 | |
41 | 41 | if (is_numeric($_GET["esc"]) && is_numeric($_GET["ser"])) { |
42 | 42 | $db = new clsBanco(); |
... | ... | @@ -55,4 +55,4 @@ if (is_numeric($_GET["esc"]) && is_numeric($_GET["ser"])) { |
55 | 55 | echo " <item>{$hora_fim_intervalo}</item>\n"; |
56 | 56 | } |
57 | 57 | } |
58 | -echo "</query>"; | |
59 | 58 | \ No newline at end of file |
59 | +echo "</query>"; | ... | ... |
ieducar/intranet/educar_escola_xml.php
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
33 | 33 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
34 | 34 | |
35 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
35 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
36 | 36 | if( is_numeric( $_GET["ins"] ) ) |
37 | 37 | { |
38 | 38 | $db = new clsBanco(); |
... | ... | @@ -58,4 +58,4 @@ |
58 | 58 | } |
59 | 59 | } |
60 | 60 | echo "</query>"; |
61 | -?> | |
62 | 61 | \ No newline at end of file |
62 | +?> | ... | ... |
ieducar/intranet/educar_exemplar_tipo_xml.php
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
33 | 33 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
34 | 34 | |
35 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
35 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
36 | 36 | |
37 | 37 | if( is_numeric( $_GET["bib"] ) ) |
38 | 38 | { | ... | ... |
ieducar/intranet/educar_fonte_xml.php
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
33 | 33 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
34 | 34 | |
35 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
35 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
36 | 36 | |
37 | 37 | if( is_numeric( $_GET["bib"] ) ) |
38 | 38 | { |
... | ... | @@ -62,4 +62,4 @@ |
62 | 62 | } |
63 | 63 | |
64 | 64 | echo "</query>"; |
65 | -?> | |
66 | 65 | \ No newline at end of file |
66 | +?> | ... | ... |
ieducar/intranet/educar_funcao_xml.php
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
33 | 33 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
34 | 34 | |
35 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
35 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
36 | 36 | if( is_numeric( $_GET["ins"] ) ) |
37 | 37 | { |
38 | 38 | $db = new clsBanco(); |
... | ... | @@ -47,4 +47,4 @@ |
47 | 47 | } |
48 | 48 | } |
49 | 49 | echo "</query>"; |
50 | -?> | |
51 | 50 | \ No newline at end of file |
51 | +?> | ... | ... |
ieducar/intranet/educar_habilitacao_xml.php
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
33 | 33 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
34 | 34 | |
35 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
35 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
36 | 36 | |
37 | 37 | if( is_numeric( $_GET["ins"] ) ) |
38 | 38 | { |
... | ... | @@ -60,4 +60,4 @@ |
60 | 60 | } |
61 | 61 | } |
62 | 62 | echo "</query>"; |
63 | -?> | |
64 | 63 | \ No newline at end of file |
64 | +?> | ... | ... |
ieducar/intranet/educar_idioma_xml.php
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
33 | 33 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
34 | 34 | |
35 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"colecoes\">\n"; | |
35 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"colecoes\">\n"; | |
36 | 36 | |
37 | 37 | if( is_numeric( $_GET["bib"] ) ) |
38 | 38 | { |
... | ... | @@ -61,4 +61,4 @@ |
61 | 61 | } |
62 | 62 | } |
63 | 63 | echo "</query>"; |
64 | -?> | |
65 | 64 | \ No newline at end of file |
65 | +?> | ... | ... |
ieducar/intranet/educar_infra_comodo_funcao_xml.php
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
33 | 33 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
34 | 34 | |
35 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
35 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
36 | 36 | |
37 | 37 | if( is_numeric( $_GET["esc"] ) ) |
38 | 38 | { |
... | ... | @@ -62,4 +62,4 @@ |
62 | 62 | } |
63 | 63 | } |
64 | 64 | echo "</query>"; |
65 | -?> | |
66 | 65 | \ No newline at end of file |
66 | +?> | ... | ... |
ieducar/intranet/educar_infra_predio_xml.php
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
33 | 33 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
34 | 34 | |
35 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
35 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
36 | 36 | |
37 | 37 | if( is_numeric( $_GET["esc"] ) ) |
38 | 38 | { |
... | ... | @@ -62,4 +62,4 @@ |
62 | 62 | } |
63 | 63 | } |
64 | 64 | echo "</query>"; |
65 | -?> | |
66 | 65 | \ No newline at end of file |
66 | +?> | ... | ... |
ieducar/intranet/educar_material_tipo_xml.php
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
33 | 33 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
34 | 34 | |
35 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
35 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
36 | 36 | |
37 | 37 | if( is_numeric( $_GET["ins"] ) ) |
38 | 38 | { |
... | ... | @@ -60,4 +60,4 @@ |
60 | 60 | } |
61 | 61 | } |
62 | 62 | echo "</query>"; |
63 | -?> | |
64 | 63 | \ No newline at end of file |
64 | +?> | ... | ... |
ieducar/intranet/educar_matricula_turma_xml.php
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
33 | 33 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
34 | 34 | |
35 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
35 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
36 | 36 | |
37 | 37 | if( is_numeric( $_GET["tur"] ) ) |
38 | 38 | { |
... | ... | @@ -70,4 +70,4 @@ |
70 | 70 | } |
71 | 71 | } |
72 | 72 | echo "</query>"; |
73 | -?> | |
74 | 73 | \ No newline at end of file |
74 | +?> | ... | ... |
ieducar/intranet/educar_modulo_instituicao_xml.php
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
33 | 33 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
34 | 34 | |
35 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
35 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
36 | 36 | if( is_numeric( $_GET["inst"] ) ) |
37 | 37 | { |
38 | 38 | $db = new clsBanco(); |
... | ... | @@ -54,4 +54,4 @@ |
54 | 54 | } |
55 | 55 | } |
56 | 56 | echo "</query>"; |
57 | -?> | |
58 | 57 | \ No newline at end of file |
58 | +?> | ... | ... |
ieducar/intranet/educar_niveis_servidor_xml.php
... | ... | @@ -33,7 +33,7 @@ |
33 | 33 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
34 | 34 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
35 | 35 | |
36 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
36 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
37 | 37 | |
38 | 38 | if( is_numeric( $_GET["cod_cat"] ) ) |
39 | 39 | { |
... | ... | @@ -49,4 +49,4 @@ |
49 | 49 | } |
50 | 50 | } |
51 | 51 | echo "</query>"; |
52 | -?> | |
53 | 52 | \ No newline at end of file |
53 | +?> | ... | ... |
ieducar/intranet/educar_nivel_ensino_xml.php
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
33 | 33 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
34 | 34 | |
35 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
35 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
36 | 36 | |
37 | 37 | if( is_numeric( $_GET["ins"] ) ) |
38 | 38 | { |
... | ... | @@ -60,4 +60,4 @@ |
60 | 60 | } |
61 | 61 | } |
62 | 62 | echo "</query>"; |
63 | -?> | |
64 | 63 | \ No newline at end of file |
64 | +?> | ... | ... |
ieducar/intranet/educar_sequencia_serie_curso_xml.php
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
33 | 33 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
34 | 34 | |
35 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
35 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
36 | 36 | if( is_numeric( $_GET["cur"] ) ) |
37 | 37 | { |
38 | 38 | $db = new clsBanco(); |
... | ... | @@ -56,4 +56,4 @@ |
56 | 56 | } |
57 | 57 | } |
58 | 58 | echo "</query>"; |
59 | -?> | |
60 | 59 | \ No newline at end of file |
60 | +?> | ... | ... |
ieducar/intranet/educar_sequencia_serie_xml.php
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
33 | 33 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
34 | 34 | |
35 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
35 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
36 | 36 | if( is_numeric( $_GET["cur"] ) ) |
37 | 37 | { |
38 | 38 | $db = new clsBanco(); |
... | ... | @@ -56,4 +56,4 @@ |
56 | 56 | } |
57 | 57 | } |
58 | 58 | echo "</query>"; |
59 | -?> | |
60 | 59 | \ No newline at end of file |
60 | +?> | ... | ... |
ieducar/intranet/educar_serie_not_escola_xml.php
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
33 | 33 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
34 | 34 | |
35 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
35 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
36 | 36 | if( is_numeric( $_GET["esc"] ) && is_numeric( $_GET["cur"] ) ) |
37 | 37 | { |
38 | 38 | $db = new clsBanco(); |
... | ... | @@ -62,4 +62,4 @@ |
62 | 62 | } |
63 | 63 | } |
64 | 64 | echo "</query>"; |
65 | -?> | |
66 | 65 | \ No newline at end of file |
66 | +?> | ... | ... |
ieducar/intranet/educar_serie_regra_xml.php
... | ... | @@ -41,7 +41,7 @@ require_once 'RegraAvaliacao/Model/RegraDataMapper.php'; |
41 | 41 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
42 | 42 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
43 | 43 | |
44 | -print "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
44 | +print "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
45 | 45 | |
46 | 46 | if (isset($_GET['ins']) && is_numeric($_GET['ins'])) { |
47 | 47 | $mapper = new RegraAvaliacao_Model_RegraDataMapper(); |
... | ... | @@ -55,4 +55,4 @@ if (isset($_GET['ins']) && is_numeric($_GET['ins'])) { |
55 | 55 | print sprintf(' <regra id="%d">%s</regra>%s', $regra->id, $regra->nome, PHP_EOL); |
56 | 56 | } |
57 | 57 | } |
58 | -print '</query>'; | |
59 | 58 | \ No newline at end of file |
59 | +print '</query>'; | ... | ... |
ieducar/intranet/educar_serie_xml.php
... | ... | @@ -36,7 +36,7 @@ require_once 'include/funcoes.inc.php'; |
36 | 36 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
37 | 37 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
38 | 38 | |
39 | -echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
39 | +echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
40 | 40 | |
41 | 41 | if (isset($_GET['cur']) && is_numeric($_GET['cur'])) |
42 | 42 | { | ... | ... |
ieducar/intranet/educar_servidor_horas_alocadas_xml.php
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
33 | 33 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
34 | 34 | |
35 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
35 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
36 | 36 | if( is_numeric( $_GET["ser"] ) ) |
37 | 37 | { |
38 | 38 | $db = new clsBanco(); |
... | ... | @@ -56,4 +56,4 @@ |
56 | 56 | } |
57 | 57 | } |
58 | 58 | echo "</query>"; |
59 | -?> | |
60 | 59 | \ No newline at end of file |
60 | +?> | ... | ... |
ieducar/intranet/educar_situacao_xml.php
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
33 | 33 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
34 | 34 | |
35 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
35 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
36 | 36 | |
37 | 37 | if( is_numeric( $_GET["bib"] ) ) |
38 | 38 | { |
... | ... | @@ -65,4 +65,4 @@ |
65 | 65 | } |
66 | 66 | |
67 | 67 | echo "</query>"; |
68 | -?> | |
69 | 68 | \ No newline at end of file |
69 | +?> | ... | ... |
ieducar/intranet/educar_subniveis_servidor_xml.php
... | ... | @@ -33,7 +33,7 @@ |
33 | 33 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
34 | 34 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
35 | 35 | |
36 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
36 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
37 | 37 | |
38 | 38 | if( is_numeric( $_GET["cod_nivel"] ) ) |
39 | 39 | { |
... | ... | @@ -48,4 +48,4 @@ |
48 | 48 | } |
49 | 49 | } |
50 | 50 | echo "</query>"; |
51 | -?> | |
52 | 51 | \ No newline at end of file |
52 | +?> | ... | ... |
ieducar/intranet/educar_tipo_ensino_xml.php
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
33 | 33 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
34 | 34 | |
35 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
35 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
36 | 36 | |
37 | 37 | if( is_numeric( $_GET["ins"] ) ) |
38 | 38 | { |
... | ... | @@ -60,4 +60,4 @@ |
60 | 60 | } |
61 | 61 | } |
62 | 62 | echo "</query>"; |
63 | -?> | |
64 | 63 | \ No newline at end of file |
64 | +?> | ... | ... |
ieducar/intranet/educar_tipo_regime_xml.php
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
33 | 33 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
34 | 34 | |
35 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
35 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
36 | 36 | |
37 | 37 | if( is_numeric( $_GET["ins"] ) ) |
38 | 38 | { |
... | ... | @@ -60,4 +60,4 @@ |
60 | 60 | } |
61 | 61 | } |
62 | 62 | echo "</query>"; |
63 | -?> | |
64 | 63 | \ No newline at end of file |
64 | +?> | ... | ... |
ieducar/intranet/educar_tipo_turma_xml.php
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
33 | 33 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
34 | 34 | |
35 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
35 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
36 | 36 | if( is_numeric( $_GET["ins"] ) ) |
37 | 37 | { |
38 | 38 | $db = new clsBanco(); |
... | ... | @@ -45,4 +45,4 @@ |
45 | 45 | } |
46 | 46 | } |
47 | 47 | echo "</query>"; |
48 | -?> | |
49 | 48 | \ No newline at end of file |
49 | +?> | ... | ... |
ieducar/intranet/educar_turma_sala_xml.php
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
33 | 33 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
34 | 34 | |
35 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
35 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
36 | 36 | if( is_numeric( $_GET["inst"] ) && is_numeric( $_GET["esc"] ) && is_numeric( $_GET["com"]) && is_numeric( $_GET['cur'])&& is_numeric( $_GET['ser']) ) |
37 | 37 | { |
38 | 38 | if(is_numeric( $_GET["not_tur"])) |
... | ... | @@ -62,4 +62,4 @@ |
62 | 62 | } |
63 | 63 | } |
64 | 64 | echo "</query>"; |
65 | -?> | |
66 | 65 | \ No newline at end of file |
66 | +?> | ... | ... |
ieducar/intranet/educar_turma_xml.php
... | ... | @@ -34,7 +34,7 @@ |
34 | 34 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
35 | 35 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
36 | 36 | |
37 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
37 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
38 | 38 | if( is_numeric( $_GET["esc"] ) && is_numeric( $_GET["ser"] ) ) |
39 | 39 | { |
40 | 40 | $db = new clsBanco(); |
... | ... | @@ -56,4 +56,4 @@ |
56 | 56 | } |
57 | 57 | echo "</query>"; |
58 | 58 | |
59 | -?> | |
60 | 59 | \ No newline at end of file |
60 | +?> | ... | ... |
ieducar/intranet/educar_usuario_xml.php
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
33 | 33 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
34 | 34 | |
35 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
35 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
36 | 36 | if( is_numeric( $_GET["ins"] ) ) |
37 | 37 | { |
38 | 38 | $db = new clsBanco(); |
... | ... | @@ -142,4 +142,4 @@ |
142 | 142 | } |
143 | 143 | } |
144 | 144 | echo "</query>"; |
145 | -?> | |
146 | 145 | \ No newline at end of file |
146 | +?> | ... | ... |
ieducar/intranet/xml_acervo_geral.php
... | ... | @@ -30,7 +30,7 @@ |
30 | 30 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
31 | 31 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryForDisabledApi(); |
32 | 32 | |
33 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
33 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
34 | 34 | |
35 | 35 | require_once ("include/clsBanco.inc.php"); |
36 | 36 | require_once ("include/pmiacervo/geral.inc.php"); |
... | ... | @@ -90,4 +90,4 @@ |
90 | 90 | } |
91 | 91 | } |
92 | 92 | echo "</query>"; |
93 | -?> | |
94 | 93 | \ No newline at end of file |
94 | +?> | ... | ... |
ieducar/intranet/xml_diaria_sugestao.php
... | ... | @@ -31,7 +31,7 @@ |
31 | 31 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryForDisabledApi(); |
32 | 32 | |
33 | 33 | require_once( "include/clsBanco.inc.php" ); |
34 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
34 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
35 | 35 | if( isset( $_GET["dp"] ) && isset( $_GET["hp"] ) && isset( $_GET["dc"] ) && isset( $_GET["hc"] ) && isset( $_GET["grupo"] ) && isset( $_GET["est"] ) ) |
36 | 36 | { |
37 | 37 | $result_100 = 0; |
... | ... | @@ -177,4 +177,4 @@ |
177 | 177 | echo " <item>erro!</item>\n <item>erro!</item>\n <item>erro!</item>\n <item>erro!</item>\n"; |
178 | 178 | } |
179 | 179 | echo "</query>"; |
180 | -?> | |
181 | 180 | \ No newline at end of file |
181 | +?> | ... | ... |
ieducar/intranet/xml_escola.php
... | ... | @@ -31,7 +31,7 @@ |
31 | 31 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
32 | 32 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
33 | 33 | |
34 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
34 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
35 | 35 | if( isset( $_GET["cod_instituicao"] ) ) |
36 | 36 | { |
37 | 37 | // Seleciona Filas de atendimento da instituicao |
... | ... | @@ -46,4 +46,4 @@ |
46 | 46 | } |
47 | 47 | } |
48 | 48 | echo "</query>"; |
49 | -?> | |
50 | 49 | \ No newline at end of file |
50 | +?> | ... | ... |
ieducar/intranet/xml_oprot_setor.php
... | ... | @@ -35,7 +35,7 @@ require_once 'include/pmidrh/geral.inc.php'; |
35 | 35 | require_once 'Portabilis/Utils/DeprecatedXmlApi.php'; |
36 | 36 | Portabilis_Utils_DeprecatedXmlApi::returnEmptyQueryUnlessUserIsLoggedIn(); |
37 | 37 | |
38 | -echo '<?xml version="1.0" encoding="ISO-8859-15"?>' . "\n"; | |
38 | +echo '<?xml version="1.0" encoding="UTF-8"?>' . "\n"; | |
39 | 39 | echo '<query xmlns="sugestoes">' . "\n"; |
40 | 40 | |
41 | 41 | if (isset($_GET['setor_pai'])) { |
... | ... | @@ -50,4 +50,4 @@ if (isset($_GET['setor_pai'])) { |
50 | 50 | } |
51 | 51 | } |
52 | 52 | |
53 | -echo '</query>'; | |
54 | 53 | \ No newline at end of file |
54 | +echo '</query>'; | ... | ... |
ieducar/intranet/xml_oprot_setor_not_in.php
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | |
33 | 33 | require_once( "include/protocol/geral.inc.php" ); |
34 | 34 | |
35 | - echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
35 | + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
36 | 36 | if( isset( $_GET["setor_pai"] ) ) |
37 | 37 | { |
38 | 38 | // Seleciona Filas de atendimento da instituicao |
... | ... | @@ -49,4 +49,4 @@ |
49 | 49 | } |
50 | 50 | } |
51 | 51 | echo "</query>"; |
52 | -?> | |
53 | 52 | \ No newline at end of file |
53 | +?> | ... | ... |
ieducar/lib/Portabilis/Utils/DeprecatedXmlApi.php
... | ... | @@ -55,7 +55,7 @@ class Portabilis_Utils_DeprecatedXmlApi { |
55 | 55 | } |
56 | 56 | |
57 | 57 | public static function returnEmptyQuery($xmlns = 'sugestoes', $rootNodeName = 'query', $comment = ''){ |
58 | - $emptyQuery = "<?xml version='1.0' encoding='ISO-8859-15'?>" . | |
58 | + $emptyQuery = "<?xml version='1.0' encoding='UTF-8'?>" . | |
59 | 59 | "<!-- $comment -->" . |
60 | 60 | "<$rootNodeName xmlns='$xmlns'></$rootNodeName>"; |
61 | 61 | ... | ... |
ieducar/modules/TabelaArredondamento/Views/TabelaTipoNotaAjax.php
... | ... | @@ -42,7 +42,7 @@ if (isset($_GET['tipoNota'])) { |
42 | 42 | |
43 | 43 | header('Content-type: text/xml'); |
44 | 44 | |
45 | -echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n<query xmlns=\"sugestoes\">\n"; | |
45 | +echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<query xmlns=\"sugestoes\">\n"; | |
46 | 46 | |
47 | 47 | foreach ($tabelas as $tabela) { |
48 | 48 | echo sprintf('<tabela id="%d">%s</tabela>', $tabela->id, $tabela->nome); | ... | ... |
vendor/symfony/yaml/Tests/ParserTest.php
... | ... | @@ -455,8 +455,8 @@ EOF; |
455 | 455 | } |
456 | 456 | |
457 | 457 | $yamls = array( |
458 | - iconv('UTF-8', 'ISO-8859-1', "foo: 'äöüß'"), | |
459 | - iconv('UTF-8', 'ISO-8859-15', "euro: '€'"), | |
458 | + iconv('UTF-8', 'UTF-8', "foo: 'äöüß'"), | |
459 | + iconv('UTF-8', 'UTF-8', "euro: '€'"), | |
460 | 460 | iconv('UTF-8', 'CP1252', "cp1252: '©ÉÇáñ'"), |
461 | 461 | ); |
462 | 462 | ... | ... |