Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

jasper report with UTF8 filename #72

#1

Hi, the following codes failed to generate the report, is it possible to set the p_out_filename to UTF8 characters?
Thanks.

declare
l_additional_parameters varchar2(32767);
begin
xlib_jasperreports.set_report_url('http://xxxxxxxxxxxxx.com.tw/jri/report');
l_additional_parameters := 'P_ID=' || apex_util.url_encode(:P106_PARAMETER1);
l_additional_parameters := l_additional_parameters || '&P_SEQ_NO=' || apex_util.url_encode(:P106_PARAMETER2);
xlib_jasperreports.show_report (p_rep_name => 'r0313b',
p_rep_format => 'pdf',
p_data_source => 'default',
--p_rep_locale => 'en-US',
p_rep_encoding => 'UTF-8',
p_out_filename => '中文.pdf',
p_additional_params => l_additional_parameters);
apex_application.g_unrecoverable_error := true;
end;

  • replies 0
  • views 166
  • likes 0