[svn r12240] Change by Arnaud L. - added utf8_encode() calls to fix accentuated display problems in openlazslo application

skala
Yannick Warnier 18 years ago
parent f657daf0da
commit 791f6e5f88
  1. 4
      main/webrooms/checksession.php

@ -13,11 +13,11 @@ printf ('<?xml version="1.0" encoding="UTF-8" ?>');
printf('<dokeosobject>');
printf('<courseobject>');
foreach ($_SESSION['_course'] as $key => $val) printf('<%s>%s</%s>',$key,$val,$key);
foreach ($_SESSION['_course'] as $key => $val) printf('<%s>%s</%s>',$key,utf8_encode($val),$key);
printf('</courseobject>');
printf('<userobject>');
foreach ($_SESSION['_user'] as $key => $val) printf('<%s>%s</%s>',$key,$val,$key);
foreach ($_SESSION['_user'] as $key => $val) printf('<%s>%s</%s>',$key,utf8_encode($val),$key);
printf('</userobject>');
printf('</dokeosobject>');

Loading…
Cancel
Save