Skip to content

Commit

Permalink
Item13122: convert topic name to UTF-8
Browse files Browse the repository at this point in the history
  • Loading branch information
prmdhost authored and gac410 committed Nov 28, 2014
1 parent 859d0b7 commit 67d9902
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Foswiki/Contrib/DBIStoreContrib.pm
Expand Up @@ -384,9 +384,10 @@ sub insert {
_say "\tInsert $tid" if MONITOR;
my $text = _convertToUTF8( $mo->text() );
my $esf = _convertToUTF8( $mo->getEmbeddedStoreForm() );
my $topicName = _convertToUTF8($mo->topic());
$dbh->do(
'INSERT INTO topic (tid,web,name,text,raw) VALUES (?,?,?,?,?)',
{}, $tid, $mo->web(), $mo->topic(), $text, $esf );
{}, $tid, $mo->web(), $topicName, $text, $esf );

foreach my $type ( keys %$mo ) {

Expand Down

0 comments on commit 67d9902

Please sign in to comment.