Author Topic: Odd Log File Montreal Glitch  (Read 930 times)

0 Members and 1 Guest are viewing this topic.

Offline Quidditch33

  • Milwaukeye
  • Full Member
  • ***
  • Posts: 116
  • Gender: Male
  • Last Login:March 31, 2019, 04:05:30 pm
  • I want to be the first one to collect them all!
    • Travel Mapping User Page
Odd Log File Montreal Glitch
« on: July 14, 2016, 01:12:08 pm »
I was scrolling through my log file when I noticed something very wrong with the way Montreal was spelled. Instead of Montreal it spells Montréal.
-The journey of a thousand miles begins with a single step... on the gas.

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 1532
  • Last Login:Today at 01:28:01 pm
Re: Odd Log File Montreal Glitch
« Reply #1 on: July 14, 2016, 01:49:14 pm »
I'm not seeing anything in your log file for Montreal at all.  Is it the quidditch33.log?

In any case, user log files are created with a UTF-8 encoding, and if you view it as ASCII, you would see the special character which  is supposed to have an accent mark, as the ASCII equivalents.

Offline michih

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 1756
  • Last Login:Today at 03:24:20 pm
Re: Odd Log File Montreal Glitch
« Reply #2 on: July 14, 2016, 01:56:02 pm »
It's a general issue with non-ASCII characters in our log files. I have entries like '(Québec)', '(Köln)' or '(Saarbrücken)'. I thought it was discussed but I couldn't find a Github issue.

Maybe it's just a minor modification for Jim like it was here: https://github.com/TravelMapping/Web/issues/50.

Edit: @Jim: A-30 (Montréal), http://tm.teresco.org/logs/michih.log.
« Last Edit: July 14, 2016, 01:59:29 pm by michih »

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 1532
  • Last Login:Today at 01:28:01 pm
Re: Odd Log File Montreal Glitch
« Reply #3 on: July 14, 2016, 03:32:01 pm »
As far as I know, for a text file like a .log, it will be up to some sort of configuration in your web browser or whatever else you use to view the log files to determine what encoding it will choose to display.  In the other situation, I was able to specify UTF-8 for the web pages, but the logs aren't (and aren't intended to be) HTML-based web pages.

All that said, if you open a log file in a program that understands encodings, it should look fine.  I will admit, however, that I have not tried to do so.

Offline Quidditch33

  • Milwaukeye
  • Full Member
  • ***
  • Posts: 116
  • Gender: Male
  • Last Login:March 31, 2019, 04:05:30 pm
  • I want to be the first one to collect them all!
    • Travel Mapping User Page
Re: Odd Log File Montreal Glitch
« Reply #4 on: November 19, 2016, 05:06:52 pm »
I'm not seeing anything in your log file for Montreal at all.  Is it the quidditch33.log?

Sorry for the late response, but no, that was my old zzyzx file that you deleted.

Thanks,
-The journey of a thousand miles begins with a single step... on the gas.