Menu

#1017 The gibberish about chinese

Bug
open-accepted
SciTE (657)
2
2010-09-03
2010-09-02
Lenny Adam
No

SciTE version: 2.2.0, 2.2.1
OS: Win XP SP3
Language: Simplified Chinese
settings: code.page=936, character.set=134

Operation:Export a chinese text as a PDF file
Source File: .txt
PDF reader: FOXIT READER.EXE

The attachment contains three files: .txt;.pdf;.tex

Discussion

  • Lenny Adam

    Lenny Adam - 2010-09-02

    three files

     
  • Lenny Adam

    Lenny Adam - 2010-09-02

    You can see the content of this pdf file was gibberish.

     
  • Neil Hodgson

    Neil Hodgson - 2010-09-03
    • assigned_to: nobody --> nyamatongwe
    • priority: 5 --> 2
    • status: open --> open-accepted
     
  • Neil Hodgson

    Neil Hodgson - 2010-09-03

    The exporters are code contributed by others to enable some simple exporting of program source code. They are unlikely to handle non - Western European character sets.

    I will not be working on this myself.

     
  • Kein-Hong Man

    Kein-Hong Man - 2010-09-03

    Lenny, please read the PDF exporter section in SciTEDoc.html very carefully. If you asked me today, I would not have fixed it and I would have let it be removed since it was pretty broken -- there are good reasons for this stance.

    A full-featured PDF exporter will need too many options and will be too large. PDF is largely a final-form format -- supporting all users' needs for this feature will be a nightmare. So the existing feature should not be used except for the simplest of tasks -- for producing serious documents, you will quickly run into limitations.

    I realize users want to reproduce the highlighting for documentation, etc. Consider exporting to HTML or something that works and import into OpenOffice. If you have solutions or requirements, you can go over to the mailing list to discuss possible options and solutions with other users.

     
  • Lenny Adam

    Lenny Adam - 2010-09-03

    What I want is not a full set of features about PDF,but no unreadable codes.
    I understand now this is a excessive demand. Pray forgive me!

     
  • Kein-Hong Man

    Kein-Hong Man - 2010-09-03

    No problem. To be more specific, the needs of one user is not that much, but once the needs of many users is aggregated -- each with slightly different issues to 'fix' -- then we are looking at "full feature", which is not really practical in a small editor. Plus, it will be an unholy maintenance time sink.

    Perhaps the PDF exporter can be implemented as a loadable Lua module. Then it can be more easily extended. But -- while I did some bug fixing on it -- I have never actually used it for anything, so I have little desire to expend time and effort on it..

     

Log in to post a comment.