Train GraphicClick on the map to explore geographics
 
I need help
FAQ
Emergency
About .
Travel & transport from BBC stories as at 22:15 27 Apr 2024
- Titanic gold pocket watch sells for £900k
- Boy finds rare Lego toy on beach after two-year search
Read about the forum [here].
Register [here] - it's free.
What do I gain from registering? [here]
 22/05/24 - WWRUG / TransWilts update
02/06/24 - Summer Timetable starts
17/08/24 - Bus to Imber
27/09/25 - 200 years of passenger trains

No 'On This Day' events reported for 27th Apr

Train RunningCancelled
19:23 Portsmouth Harbour to Cardiff Central
21:30 Gatwick Airport to Reading
Short Run
22:13 Salisbury to Bristol Temple Meads
Delayed
18:27 Cardiff Central to Portsmouth Harbour
20:03 London Paddington to Plymouth
PollsThere are no open or recent polls
Abbreviation pageAcronymns and abbreviations
Stn ComparatorStation Comparator
Rail newsNews Now - live rail news feed
Site Style 1 2 3 4
Next departures • Bristol Temple MeadsBath SpaChippenhamSwindonDidcot ParkwayReadingLondon PaddingtonMelksham
Exeter St DavidsTauntonWestburyTrowbridgeBristol ParkwayCardiff CentralOxfordCheltenham SpaBirmingham New Street
April 27, 2024, 22:32:24 *
Welcome, Guest. Please login or register.

Login with username, password and session length
Forgotten your username or password? - get a reminder
Most recently liked subjects
[76] Labour to nationalise railways within five years of coming to ...
[56] Clan Line - by Clan Line !
[39] access for all at Devon stations report
[25] Who we are - the people behind firstgreatwestern.info
[9] Bonaparte's at Bristol Temple Meads
[1] Lack of rolling stock due to attacks on shipping in the Red Se...
 
News: the Great Western Coffee Shop ... keeping you up to date with travel around the South West
 
   Home   Help Search Calendar Login Register  
Pages: [1]
  Print  
Author Topic: Character recognition / interpretation  (Read 5403 times)
PhilWakely
Transport Scholar
Hero Member
******
Posts: 2018



View Profile
« on: August 11, 2015, 15:18:04 »

I'm not sure whether it is just me (or rather my laptop settings), but several posts recently have apparently been infiltrated with gobbledygook...... Is it a case of some devices have different interpretations for the apostrophe (for example)?

For instance, a comment about a pun in the recent post about lost bears gets completely lost by the gobbledygook that replaces the apostrophe!


If it is just me, how is it corrected?
Logged
grahame
Administrator
Hero Member
*****
Posts: 40836



View Profile WWW Email
« Reply #1 on: August 11, 2015, 15:40:05 »

I'm not sure whether it is just me (or rather my laptop settings), but several posts recently have apparently been infiltrated with gobbledygook...... Is it a case of some devices have different interpretations for the apostrophe (for example)?

It's not just you - and I'm very much aware of the issue.  All to do with character sets and database save and restores.   I need to do some clever work to sort it out at some point.
Logged

Coffee Shop Admin, Acting Chair of Melksham Rail User Group, Option 24/7 Melksham Rep
broadgage
Transport Scholar
Hero Member
******
Posts: 5410



View Profile
« Reply #2 on: August 27, 2015, 11:29:09 »

I have noticed similar, on a standard windows laptop.

Logged

A proper intercity train has a minimum of 8 coaches, gangwayed throughout, with first at one end, and a full sized buffet car between first and standard.
It has space for cycles, surfboards,luggage etc.
A 5 car DMU (Diesel Multiple Unit) is not a proper inter-city train. The 5+5 and 9 car DMUs are almost as bad.
Red Squirrel
Administrator
Hero Member
*****
Posts: 5219


There are some who call me... Tim


View Profile
« Reply #3 on: August 27, 2015, 11:59:38 »

I have noticed similar, on a standard windows laptop.



Everyone sees it the same way, broadgage, regardless of their equipment or internet browser.
Logged

Things take longer to happen than you think they will, and then they happen faster than you thought they could.
ironstone11
Full Member
***
Posts: 75


View Profile
« Reply #4 on: August 27, 2015, 14:19:32 »

I'm not sure whether it is just me (or rather my laptop settings), but several posts recently have apparently been infiltrated with gobbledygook...... Is it a case of some devices have different interpretations for the apostrophe (for example)?

It's not just you - and I'm very much aware of the issue.  All to do with character sets and database save and restores.   I need to do some clever work to sort it out at some point.

I had the same problem. Settings for the database and trying to save with utf-8 didn't make any difference.

I don't know if you are using mysql and php, but I eventually discovered that the php statement:-

mysql_set_charset('utf8');

placed before getting any data from the database did the trick.
Logged
grahame
Administrator
Hero Member
*****
Posts: 40836



View Profile WWW Email
« Reply #5 on: August 27, 2015, 15:42:43 »

I had the same problem. Settings for the database and trying to save with utf-8 didn't make any difference.

I don't know if you are using mysql and php, but I eventually discovered that the php statement:-

mysql_set_charset('utf8');

placed before getting any data from the database did the trick.

We are ... and although the solution may be along those lines it's not that simple:
a) We may have double and treble encoding!
b) The software is old open source stuff and gets data all over the place
c) Although the PHP / code is ancient, we're running on a very recent edition of MySQL ... the PHP application says "supports any version of MySQL after 4.xxxx  but of course it was never tested on 5.6.xxxx because that wasn't around at the time.

One of the effects, I'm afraid, of a project that was supposed to live for less that 8 months still running 8 years later!

During my current enforced layup I've been thinking a lot and doing background planning to sort some stuff out. I can't rely on myself to do a clean job with my current muzzy head, but once I'm back to full brain function and have cleared a couple of backlogs, I'll be well fixed to do some things as described at http://www.firstgreatwestern.info/coffeeshop/index.php?topic=16117.0 - which I note drew 0 comments  Undecided and more likes than I've ever seen here before.  Grin
Logged

Coffee Shop Admin, Acting Chair of Melksham Rail User Group, Option 24/7 Melksham Rep
Do you have something you would like to add to this thread, or would you like to raise a new question at the Coffee Shop? Please [register] (it is free) if you have not done so before, or login (at the top of this page) if you already have an account - we would love to read what you have to say!

You can find out more about how this forum works [here] - that will link you to a copy of the forum agreement that you can read before you join, and tell you very much more about how we operate. We are an independent forum, provided and run by customers of Great Western Railway, for customers of Great Western Railway and we welcome railway professionals as members too, in either a personal or official capacity. Views expressed in posts are not necessarily the views of the operators of the forum.

As well as posting messages onto existing threads, and starting new subjects, members can communicate with each other through personal messages if they wish. And once members have made a certain number of posts, they will automatically be admitted to the "frequent posters club", where subjects not-for-public-domain are discussed; anything from the occasional rant to meetups we may be having ...

 
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
This forum is provided by customers of Great Western Railway (formerly First Great Western), and the views expressed are those of the individual posters concerned. Visit www.gwr.com for the official Great Western Railway website. Please contact the administrators of this site if you feel that the content provided by one of our posters contravenes our posting rules (email link to report). Forum hosted by Well House Consultants

Jump to top of pageJump to Forum Home Page