Announcement

Collapse
No announcement yet.

Setting encoding for output report

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Setting encoding for output report

    I'm using script for compare two files and get a problem: encoding of inputs file is shift-jis so output file is wrong content. How can i fix it.

  • #2
    Hello,

    Encoding is auto-detected for the input files. If you use the graphical interface, you can define a new Tools menu -> File Format -> new Text format for your specific files, and in that file format's Conversion tab, override the Encoding. Script will then use this format automatically if it matches the file mask.
    Aaron P Scooter Software

    Comment


    • #3
      Originally posted by Aaron View Post
      Hello,

      Encoding is auto-detected for the input files. If you use the graphical interface, you can define a new Tools menu -> File Format -> new Text format for your specific files, and in that file format's Conversion tab, override the Encoding. Script will then use this format automatically if it matches the file mask.
      Hi, i found the key of my problem, this is html-color argument in output-options, it convert all text to another charset(not shif_jis) in output file. Now i'm trying to used html-custom option but i don't know how to create custom css-file. Can i export the css of html-color and change charset to shift_jis and use it? Thanks for help

      Comment


      • #4
        Hello,

        If you use the graphical interface to generate an HTML report with embedded color css, you can see the <style> node and how it integrates into the overall <html>.

        The encoding of the report should be based on the file content. If you use the graphical interface generated report with embedded color css and open report in BC4's Text Comapre, which encoding does the report.html detect as for your files?
        Aaron P Scooter Software

        Comment


        • #5
          yes, maybe you are right. when i compare it with text compare, this encoding is Turish(ISO 8859) so the charset in HTML is ISO 8859-9. But with another files, the encoding in text compare mode is ANSI but in the report file(HTML output file), it's shift_jis charset.

          Comment

          Working...
          X