From b973d2a6826a3c904455c724b3e306873a8c3bf3 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Tue, 20 Dec 2016 13:25:26 +0100 Subject: [PATCH] Fix Unicode characters in Config.xsp --- xs/xsp/Config.xsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xs/xsp/Config.xsp b/xs/xsp/Config.xsp index ab4bdf025f..ba236f93e1 100644 --- a/xs/xsp/Config.xsp +++ b/xs/xsp/Config.xsp @@ -137,7 +137,7 @@ print_config_def() (void)hv_stores( hv, "label", newSVpvn_utf8(optdef->label.c_str(), optdef->label.length(), true) ); if (!optdef->full_label.empty()) (void)hv_stores( hv, "full_label", newSVpvn_utf8(optdef->full_label.c_str(), optdef->full_label.length(), true) ); - (void)hv_stores( hv, "category", newSVpvn(optdef->category.c_str(), optdef->category.length()) ); + (void)hv_stores( hv, "category", newSVpvn_utf8(optdef->category.c_str(), optdef->category.length()) ); (void)hv_stores( hv, "tooltip", newSVpvn_utf8(optdef->tooltip.c_str(), optdef->tooltip.length(), true) ); (void)hv_stores( hv, "sidetext", newSVpvn_utf8(optdef->sidetext.c_str(), optdef->sidetext.length(), true) ); (void)hv_stores( hv, "cli", newSVpvn(optdef->cli.c_str(), optdef->cli.length()) );