X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=src%2FFactoids%2FDBCommon.pl;fp=src%2FFactoids%2FDBCommon.pl;h=6176d6115545667c6cf5399b7498f6f9e1d096dc;hb=17eef2ec03503846c7308ea40461c292b1e435d8;hp=9a22b9e97c8bc9a5e39fa6acc7fe98724931c7cc;hpb=2c5d80ce71ef3f11f56acc57ad19ca5ad6daf2f4;p=infobot.git diff --git a/src/Factoids/DBCommon.pl b/src/Factoids/DBCommon.pl index 9a22b9e..6176d61 100644 --- a/src/Factoids/DBCommon.pl +++ b/src/Factoids/DBCommon.pl @@ -23,6 +23,7 @@ sub getFactInfo { # Usage: &getFactoid($faqtoid); sub getFactoid { my $val = getFactInfo( $_[0], 'factoid_value' ); + DEBUG("getFactoid: $val is_utf8:".is_utf8($val)); return encode_utf8($val) if is_utf8($val); return $val; }