bugunrtf - Bugs: bug #58501, Can not parse quoted characters

 
 

bug #58501: Can not parse quoted characters

Submitter:  None
Submitted:  Fri 05 Jun 2020 05:23:33 AM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  None
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Thu 06 Nov 2025 09:56:06 AM UTC, comment #1: 

The current version outputs the following:

echo -n -e '\x63\x72\x65\xc3\xb3' | unrtf --html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<!-- Translation from RTF performed by UnRTF, version 0.21.10 -->
</head>
<body>cre&Atilde;&sup3;</body>
</html>

I think that this is actually correct with the default 1252 charset.

Jean-Francois Dockes <medoc>
Group administrator
Fri 05 Jun 2020 05:23:33 AM UTC, original submission:  

By example:

$ echo 'creó' | unrtf --html

> <body>cre</body>


Using escaped character to inject to unrtf without input charset:
$ echo -n -e '\x63\x72\x65\xc3\xb3' | unrtf --html

> <body>cre</body>


The excepted:

> <body>creó</body>

Anonymous

 

Attached Files

This item currently has no attached files.

(Note: upload size limit is set to 4.0MiB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by medoc (Posted a comment)
  •  

    Votes

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    History

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2025-11-06 medoc Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.16-ed84.
    Corresponding source code