Skip to content

Commit

Permalink
Fixed issue #5113: Wrong text encoding for exported Surveydata_syntax.R
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@10009 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
dionet committed Apr 16, 2011
1 parent f68d161 commit a152d75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin/export_data_r.php
Expand Up @@ -219,10 +219,10 @@

echo 'attributes(data)$variable.labels[' . $i . '] <- "'
. addslashes(
htmlspecialchars_decode(utf8_decode(
htmlspecialchars_decode(
mb_substr(
strip_tags_full(
$field['VariableLabel']),0,$length_varlabel)))) // <AdV> added htmlspecialchars_decode
$field['VariableLabel']),0,$length_varlabel))) // <AdV> added htmlspecialchars_decode
. '"' . "\n";

// Create the value Labels!
Expand Down

0 comments on commit a152d75

Please sign in to comment.