Travel Mapping

Web Design Discussion => General Web Design Discussion => Topic started by: Ib3kii on July 14, 2016, 01:12:08 pm

Title: Odd Log File Montreal Glitch
Post by: Ib3kii 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.
Title: Re: Odd Log File Montreal Glitch
Post by: Jim 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.
Title: Re: Odd Log File Montreal Glitch
Post by: michih 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.
Title: Re: Odd Log File Montreal Glitch
Post by: Jim 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.
Title: Re: Odd Log File Montreal Glitch
Post by: Ib3kii 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,