[ 
https://issues.apache.org/jira/browse/COCOON-2002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472271
 ] 

Abbas Mousavi commented on COCOON-2002:
---------------------------------------

>Just a thought - won't the encoding that needs to be used depend on what was 
>used in the input document? 
>i.e. if the source document passed in from a file generator has <?xml 
>version="1.0" encoding="Big5"?>, would 
>the above change cause similar problems? 

yes, you are right, it is better if one adds a configuration parameter for 
setting the encoding. but before adding 
a configuration parameter UTF-8 is a better choice than latin-1.

>Also, how is this affected by the char-encoding property in the 
>tidy.properties configuration file?

setting input-encoding in tidy.properties has no effect.



> HTML transformer  only works with latin-1 characters
> ----------------------------------------------------
>
>                 Key: COCOON-2002
>                 URL: https://issues.apache.org/jira/browse/COCOON-2002
>             Project: Cocoon
>          Issue Type: Bug
>          Components: Blocks: HTML
>    Affects Versions: 2.1.10, 2.1.11-dev (Current SVN)
>            Reporter: Abbas Mousavi
>            Priority: Critical
>
> when transforming HTML in encodings other than latin-1
> the result is a page of question mark.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to