Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-17029

Read .adoc files in UTF-8, not US-ASCII

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.3.0.Alpha1
    • 4.2.0.Beta1
    • website
    • None

      asciidoctor files are not read in UTF-8, which causes the following error during the build when a file contains an accent:

      An error occurred: /Users/xcoulon/code/jbosstools/jbosstools-website/_data/team/adietish.adoc is not valid US-ASCII
      
      /Users/xcoulon/.rvm/gems/ruby-1.9.3-p484@jbosstools-website/gems/tilt-1.4.1/lib/tilt/template.rb:75:in `initialize'
      /Users/xcoulon/.rvm/gems/ruby-1.9.3-p484@jbosstools-website/gems/tilt-1.4.1/lib/tilt.rb:61:in `new'
      /Users/xcoulon/.rvm/gems/ruby-1.9.3-p484@jbosstools-website/gems/tilt-1.4.1/lib/tilt.rb:61:in `new'
      /Users/xcoulon/.rvm/gems/ruby-1.9.3-p484@jbosstools-website/gems/awestruct-0.5.4.rc3/lib/awestruct/handlers/asciidoctor_handler.rb:147:in `parse_document_attributes'
      
      

            xcoulon@redhat.com Xavier Coulon
            xcoulon@redhat.com Xavier Coulon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: