bugtex4ht - Bugs: bug #432, tex4ht: wrong charset in htlatex...

Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #432: tex4ht: wrong charset in htlatex output

Submitted by:  Hilmar Preusse <hpreusse>
Submitted on:  Sun Jul 28 17:04:19 2019  
Category: NonePriority: 5 - Normal
Severity: 3 - MinorStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Tue Jun 30 10:47:47 2020, comment #1:

Yes, the encoding should be "utf-8" as he requires "uni-html4" option. Note that this happens only with old scripts like htlatex, as make4ht uses utf-8 by default.

Anyway, I've updated the sources to better support the `uni-html4` option. The other option, that worked always is to use the "charset=utf-8" option:

htlatex minimal_example_squeeze.tex "xhtml,charset=utf-8" " -utf8 -cunihtf"

Michal Hoftich <michal_h21>
Project Member
Sun Jul 28 17:04:19 2019, original submission:


Please have a look at the attached sample file. The submitter mostly complains, that the created HTML declares a encoding iso-8859-1 in the generated HTML file, which is not correct according to him.

"That's wrong, you cannot encode Polish in iso-8859-1."

Thanks! Hilmar

Hilmar Preusse <hpreusse>


Attached Files
file #320:  minimal_example_squeeze.tex added by hpreusse (412B - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by michal_h21 (Posted a comment)
  • -unavailable- added by hpreusse (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    2 latest changes follow.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue Jun 30 10:47:47 2020michal_h21Open/ClosedOpen=>Closed
    Sun Jul 28 17:04:19 2019hpreusseAttached File-=>Added minimal_example_squeeze.tex, #320
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup+gray