Back to LanguageTool Homepage - Privacy - Imprint

Use languagetool as service


(Manuel) #1

Hi,

when I try to use languagetool as a server I receive a malformed XML result because the XML contains special characters (german language) that are not part of the encoding I guess. Where can i modify the encoding to choose the right one?

Greets,
Manuel


(Daniel Naber) #2

It's a bug it seems. As a workaround, start the server with -Dfile.encoding=utf-8, like this:

java -Dfile.encoding=utf-8 -cp LanguageTool.jar  org.languagetool.server.HTTPServer

(Daniel Naber) #3

On Donnerstag, 17. November 2011, you wrote:

when I try to use languagetool as a server I receive a malformed XML
result because the XML contains special characters (german language)
that are not part of the encoding I guess. Where can i modify the
encoding to choose the right one?

It should be fixed now in the latest snapshot.

Regards
Daniel

--
http://www.danielnaber.de


(Manuel) #4

Hey Daniel! Thank you very much for your quick answer!

But unfortunately I have another one right afterwards: Somehow I fear I am to dumb to find a fixed version in the SVN (if there is any completely packed one at all). Do I have to build the application myself after checking out the whole SVN? I apologize for this maybe dumb answer but I am not used to java programing at all... :frowning:

Greets,
Manuel


(Manuel) #5

ooops, forget my last posting, found the link on the start page...

Greets,
Manuel