[jbosstools-issues] [JBoss JIRA] (JBIDE-17029) Read .adoc files in UTF-8, not US-ASCII
Xavier Coulon (JIRA)
issues at jboss.org
Wed Nov 5 05:02:36 EST 2014
[ https://issues.jboss.org/browse/JBIDE-17029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xavier Coulon resolved JBIDE-17029.
-----------------------------------
Resolution: Done
Fixed on my own machine, using
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
> Read .adoc files in UTF-8, not US-ASCII
> ---------------------------------------
>
> Key: JBIDE-17029
> URL: https://issues.jboss.org/browse/JBIDE-17029
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: website
> Affects Versions: 4.2.0.Beta1
> Reporter: Xavier Coulon
> Assignee: Xavier Coulon
> Fix For: 4.3.0.Alpha1
>
>
> asciidoctor files are not read in UTF-8, which causes the following error during the build when a file contains an accent:
> {code}
> 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 at jbosstools-website/gems/tilt-1.4.1/lib/tilt/template.rb:75:in `initialize'
> /Users/xcoulon/.rvm/gems/ruby-1.9.3-p484 at jbosstools-website/gems/tilt-1.4.1/lib/tilt.rb:61:in `new'
> /Users/xcoulon/.rvm/gems/ruby-1.9.3-p484 at jbosstools-website/gems/tilt-1.4.1/lib/tilt.rb:61:in `new'
> /Users/xcoulon/.rvm/gems/ruby-1.9.3-p484 at jbosstools-website/gems/awestruct-0.5.4.rc3/lib/awestruct/handlers/asciidoctor_handler.rb:147:in `parse_document_attributes'
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the jbosstools-issues
mailing list