Train GraphicClick on the map to explore geographics
 
I need help
FAQ
Emergency
About .
Travel & transport from BBC stories as at 09:35 19 Apr 2025
 
- British man, 27, killed by avalanche in French Alps
Read about the forum [here].
Register [here] - it's free.
What do I gain from registering? [here]
 10/05/25 - BRTA Westbury
10/05/25 - Model Railsay Show, Calne
13/05/25 - Melksham TUG / AGM
14/05/25 - West Wiltshire RUG

On this day
19th Apr (1938)
Foundation, Beatties of London (link)

Train RunningCancelled
08:52 Worcester Foregate Street to Bristol Temple Meads
09:25 Par to Newquay
10:09 Gloucester to Westbury
Additional 13:59 Bristol Temple Meads to Cardiff Central
16:38 Bristol Temple Meads to Worcester Foregate Street
18:52 Worcester Foregate Street to Bristol Temple Meads
21:32 Cheltenham Spa to Swindon
22:39 Swindon to Gloucester
Short Run
07:27 Cardiff Central to Portsmouth Harbour
08:23 Portsmouth Harbour to Cardiff Central
08:27 Cardiff Central to Portsmouth Harbour
08:38 Bristol Temple Meads to Worcester Foregate Street
10:52 Worcester Foregate Street to Bristol Temple Meads
12:23 Portsmouth Harbour to Cardiff Central
14:38 Bristol Temple Meads to Worcester Foregate Street
14:52 Worcester Foregate Street to Bristol Temple Meads
16:52 Worcester Foregate Street to Bristol Temple Meads
18:12 Salisbury to Cheltenham Spa
20:45 Bristol Temple Meads to Weymouth
21:23 Portsmouth Harbour to Westbury
Delayed
07:45 London Paddington to Great Malvern
An additional train service has been planned to operate as shown 10:43 Fratton to Portsmouth Harbour
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 19, 2025, 09:38:38 *
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
[147] FOSS and FOSW validity - some quirks
[111] Fifteen years of the Transwilts CRP
[97] Wiltshire Day Rover - new multi-operator bus ticket
[81] St Erth station - facilities, footbridge, improvements, incide...
[56] Destination: London Travelcard Zones 1-6
[44] Melksham's rail service - where are we, on the anniversary of ...
 
News: A forum for passengers ... with input from rail professionals welcomed too
 
   Home   Help Search Calendar Login Register  
Pages: [1]
  Print  
Author Topic: Character recognition / interpretation  (Read 6175 times)
PhilWakely
Transport Scholar
Hero Member
******
Posts: 2164



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: 43848



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, Chair of Melksham Rail User Group, TravelWatch SouthWest Board Member
broadgage
Transport Scholar
Hero Member
******
Posts: 5674



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: 5501


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: 43848



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, Chair of Melksham Rail User Group, TravelWatch SouthWest Board Member
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 via admin@railcustomer.info. Full legal statement (here).

Jump to top of pageJump to Forum Home Page