Red Hat Bugzilla – Bug 82517
perl doesn't know 'GB18030' encoding
Last modified: 2014-06-18 04:21:25 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830
Description of problem:
When using the module Encode and trying to convert either from or to 'GB18030',
using Encode::from_to, I'll get the message:
Unknown encoding 'GB18030'
Since I believe 'GB18030' should be supported, I thought that this might be a bug.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. write following perl-script:
$string = $ARGV;
Encode::from_to($string, 'GB18030', 'UTF8');
2. make it executable and execute it
Actual Results: Follwing Error-Message appears:
Unknown encoding 'GB18030' at <path to script>/<script> line 4
Expected Results: The GB18030-encoded string provided as argument to the script
should have been displayed (assuming STDOUT is screen) in UTF8-encoding.
Is this still an issue in RHEL4, FC3, or FC4?
Closing due to lack of response and RH8 is not a supported product.