Bug 725651 - HTML tidyp can't handle Chinese file name in zh_CN.utf8 locale
Summary: HTML tidyp can't handle Chinese file name in zh_CN.utf8 locale
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: tidyp
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Paul Howarth
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords:
Depends On: 720221
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-26 07:54 UTC by Peng Wu
Modified: 2011-08-30 21:04 UTC (History)
5 users (show)

(edit)
Clone Of: 720221
(edit)
Last Closed: 2011-08-24 15:29:39 UTC


Attachments (Terms of Use)

Description Peng Wu 2011-07-26 07:54:45 UTC
+++ This bug was initially created as a clone of Bug #720221 +++

Description of problem:
When using '-output' option with Chinese file name, the created output file name is incorrect.

Version-Release number of selected component (if applicable):
tidy-0.99.0-21.20091203.fc15.x86_64

How reproducible:
Tidy a html with Chinese output file name.

Steps to Reproduce:
By using the following command:
$ touch 中文.html
$ /usr/bin/tidy -f 中文.html.stderr -output 中文.html.stdout 中文.html
$ ls
中??!.html.stdout  中文.html  中文.html.stderr

  
Actual results:
$ ls
中??!.html.stdout  中文.html  中文.html.stderr
'中文.html.stdout' becomes '中??!.html.stdout'.

Expected results:
$ ls
中文.html.stdout  中文.html  中文.html.stderr
'中文.html.stdout' becomes '中文.html.stdout'.

Additional info:

--- Additional comment from pwu@redhat.com on 2011-07-17 23:07:29 EDT ---

I tried tidyp, tidyp also have the same problem.

Comment 1 Peng Wu 2011-07-26 07:56:52 UTC
Version-Release number of selected component (if applicable):
tidyp-1.02-4.fc15.x86_64

Steps to Reproduce:
By using the following command:
$ touch 中文.html
$ tidyp  -f 中文.html.stderr -output 中文.html.stdout 中文.html
$ ls
中??!.html.stdout  中文.html  中文.html.stderr

Comment 2 Paul Howarth 2011-07-29 18:34:10 UTC
I have sent a fix for this upstream:

https://github.com/petdance/tidyp/pull/18

Comment 3 Peng Wu 2011-08-01 02:50:09 UTC
Thanks.

Comment 4 Fedora Update System 2011-08-12 07:58:18 UTC
tidyp-1.02-5.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/tidyp-1.02-5.fc16

Comment 5 Fedora Update System 2011-08-12 07:58:55 UTC
tidyp-1.02-5.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/tidyp-1.02-5.fc14

Comment 6 Fedora Update System 2011-08-12 07:59:03 UTC
tidyp-1.02-5.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/tidyp-1.02-5.fc15

Comment 7 Fedora Update System 2011-08-12 07:59:12 UTC
tidyp-1.02-5.el4 has been submitted as an update for Fedora EPEL 4.
https://admin.fedoraproject.org/updates/tidyp-1.02-5.el4

Comment 8 Fedora Update System 2011-08-12 07:59:20 UTC
tidyp-1.02-5.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/tidyp-1.02-5.el5

Comment 9 Fedora Update System 2011-08-12 07:59:28 UTC
tidyp-1.02-5.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/tidyp-1.02-5.el6

Comment 10 Fedora Update System 2011-08-23 04:35:59 UTC
tidyp-1.02-5.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2011-08-23 04:40:03 UTC
tidyp-1.02-5.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2011-08-23 20:30:09 UTC
tidyp-1.02-5.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2011-08-30 21:02:31 UTC
tidyp-1.02-5.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2011-08-30 21:03:20 UTC
tidyp-1.02-5.el4 has been pushed to the Fedora EPEL 4 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2011-08-30 21:04:29 UTC
tidyp-1.02-5.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.