Easy print invalid file format




















First up apologies for raising this as I'm sure I'm doing something incredible stupid in my Java setup but I'll admit I don't know Java too well been struggling with it for a while now so thought I'd ask for help. I'm trying to run the vnu. Now I'm sure it's just a character set up issue but struggling to see what I need to set to get this to output correctly.

I'm running on red hat linux 6, the original file is encoded in UTF-8 and I have the following set in my environment:. And when I create a quick test Java program to read in the file using BufferedReader and print it out again it prints fine.

But can't get the vnu. It's obviously validating the HTML file correctly so is able to read it as what it's highlighting are errors in the HTML that needs fixed - I just can't read what it's printing out!

The text was updated successfully, but these errors were encountered:. Turned out to be an option on my terminal emulator PuTTY. Sorry, something went wrong. No worries, thanks for taking time to raise it anyway. As I guess you can see now the reason for the ugliness is that we use UTF-8 curly quotation marks in the message output and so if your terminal environment is not set up for UTF-8 you see all that borkage instead. Skip to content. Star 1.

New issue. Jump to bottom. Amit Shah Amit Shah 1, 1 1 gold badge 9 9 silver badges 19 19 bronze badges. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password.

Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Making Agile work for data science. Stack Gives Back Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. Linked Related 0. Hot Network Questions.

Question feed. Stack Overflow works best with JavaScript enabled.



0コメント

  • 1000 / 1000