bugGNU Octave - Bugs: bug #43498, SVG print output encoding of TeX...

 
 

bug #43498: SVG print output encoding of TeX symbols not in UTF-8

Submitted by:  CH <atcl>
Submitted on:  Wed 29 Oct 2014 05:15:09 PM UTC  
 
Category: Plotting with gnuplotSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: ConfirmedAssigned to: None
Originator Name: Open/Closed: Open
Release: 3.8.1Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Fri 16 Oct 2015 07:45:29 AM UTC, comment #6:

Sorry I misread this report, didn't see it was about gnuplot. Gnuplot still doesn't produce correct figures using tex symbols and svg.

Pantxo Diribarne <pantxo>
Project Member
Thu 15 Oct 2015 08:12:46 PM UTC, comment #5:

I pushed a patch that fixes this issue:

http://hg.savannah.gnu.org/hgweb/octave/rev/4e47e10d5279

Closing report.

Pantxo Diribarne <pantxo>
Project Member
Mon 03 Nov 2014 01:22:02 PM UTC, comment #4:

This seems close to bug #41715, marking as a duplicate report.

Mike Miller <mtmiller>
Project Administrator
Mon 03 Nov 2014 01:19:22 PM UTC, comment #3:

Confirmed with your example. Agreed that this seems to occur when using TeX markup. If the real UTF-8 character set is used instead

the resulting file looks correct to me, using either gnuplot or fltk.

Mike Miller <mtmiller>
Project Administrator
Mon 03 Nov 2014 09:33:14 AM UTC, comment #2:

Here is some sample code

even though it says encoding="utf-8" in the xml meta tag, the symbol seems to be encoded wrongly as i cannot open the file with a viewer. The targeted infinity symbol here is not represented by the associated entity but something like: ¥ .

CH <atcl>
Sun 02 Nov 2014 05:11:33 PM UTC, comment #1:

Thanks for your bug report. Can you provide an example script or a few lines of Octave commands to reproduce what you are seeing? Can you also attach the SVG file that is produced on your system?

Mike Miller <mtmiller>
Project Administrator
Wed 29 Oct 2014 05:15:09 PM UTC, original submission:

I found an text encoding issue with svg printing:

prints an svg file which uses iso-8859-44 encoding instead of utf-8. I am (on Ubuntu 14.10, GNU Octave 3.8-.1) using the gnuplot backend. My default (system) encoding is utf8.

CH <atcl>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by pantxo (Posted a comment)
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by atcl (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 project members can vote.

     

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

     

     

    Follow 9 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 16 Oct 2015 07:45:51 AM UTCpantxoStatusFixed=>Confirmed
      Open/ClosedClosed=>Open
    Thu 15 Oct 2015 08:13:34 PM UTCpantxoStatusDuplicate=>Fixed
      Open/ClosedOpen=>Closed
    Mon 03 Nov 2014 01:22:17 PM UTCmtmillerDependencies-=>Depends on bugs #41715
    Mon 03 Nov 2014 01:22:02 PM UTCmtmillerStatusConfirmed=>Duplicate
    Mon 03 Nov 2014 01:19:22 PM UTCmtmillerStatusNeed Info=>Confirmed
      SummarySVG print output encoding not in UTF-8=>SVG print output encoding of TeX symbols not in UTF-8
    Sun 02 Nov 2014 05:11:33 PM UTCmtmillerStatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1