Hi All,
i am using 6.7.1 TS version.
For multi language site, i have to enter japanies content.
i have designed template to capture multilangual HTMLs directly in browse button.
In TPL we are generating XML with that browsed HTML. In preview i can see proper Japanies Character preview.
but if i open XML just character is displayed.
i have attach Japanies content html with generated XML in ZIP.
in TPL i have wriiten Code to parse the browse HTML file is :
my $html_content = iwpt_dcr_value('c.fft.html_content');
if($html_content ne ""){
$html_content=$wa_path.$html_content;
if (-e $html_content)
{
open (htm, $html_content) || die "File not open $groups_file: $!\n";
$htmgroup = join ("", );
close CFG;
#$logger->debug("***HTML Content : $htmgroup ****");
$htmgroup=~s!
$htmgroup=~s!src=\"/assets/!src=\"/static/assets/!g;
$html_content=BTGSPORTAL::Template::encode($htmgroup);
$finalFFT.=qq("<"PROP NAME=\"FFT_html\"">" \n
"<"PVAL">"$html_content"<"/PVAL">"\n
"<"/PROP">"\n);
}else{
$logger->debug("*** HTML File Name is not exist ****");
}
}
Could any one please suggest where i am doing wrong?