commit 1362a7275c26f1480d9e7153d28884f1220bf5a1
Author:     Mauro Talevi <mauro.tal...@aquilonia.org>
AuthorDate: Sun, 16 Feb 2014 14:00:54 +0100
Commit:     Mauro Talevi <mauro.tal...@aquilonia.org>
CommitDate: Sun, 16 Feb 2014 14:00:54 +0100

    JBEHAVE-980:  Updated docs.

diff --git a/distribution/src/site/content/stories-in-your-language.html 
b/distribution/src/site/content/stories-in-your-language.html
index 585c00e..16866a9 100755
--- a/distribution/src/site/content/stories-in-your-language.html
+++ b/distribution/src/site/content/stories-in-your-language.html
@@ -40,6 +40,8 @@ public abstract class LocalizedTraderStories extends 
JUnitStories {
         ClassLoader classLoader = this.getClass().getClassLoader();
         URL codeLocation = 
CodeLocations.codeLocationFromClass(this.getClass());
         Keywords keywords = new LocalizedKeywords(locale());
+               Properties properties = new Properties();
+        properties.setProperty("encoding", "UTF-8");
         Configuration configuration = new MostUsefulConfiguration()
                 .useKeywords(keywords)
                 .useStepCollector(new MarkUnmatchedStepsAsPending(keywords))
@@ -52,6 +54,7 @@ public abstract class LocalizedTraderStories extends 
JUnitStories {
                     .withPathResolver(new ResolveToSimpleName())
                     .withDefaultFormats()
                     .withFormats(CONSOLE, TXT, HTML, XML)
+                                       .withViewResources(properties)
                     .withFailureTrace(false)
                     .withKeywords(keywords))
                 .useParameterConverters(



Reply via email to