Train GraphicClick on the map to explore geographics
 
I need help
FAQ
Emergency
About .
Travel & transport from BBC stories as at 03:35 03 May 2024
- Protesters held as asylum seekers' transfer thwarted
- Train strikes: How May's disruption affects you
Read about the forum [here].
Register [here] - it's free.
What do I gain from registering? [here]
 18/05/24 - BRTA Westbury
22/05/24 - WWRUG / TransWilts update
02/06/24 - Summer Timetable starts
17/08/24 - Bus to Imber

On this day
3rd May (1954)
Lochluichart new station opens (link)

Train RunningShort Run
21:45 Penzance to London Paddington
Delayed
02/05/24 23:45 London Paddington to Penzance
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
May 03, 2024, 03:48:31 *
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
[216] Vintage film - how valid are these issues today?
[102] Severn Tunnel emergency closure, 2nd May 2024.
[69] Train drivers "overwhelmingly white middle aged men"
[66] Rail unions strike action 2022/2023/2024
[38] Leven, Fife, Scotland, fast forward a month
[28] underground plans for Bristol update.
 
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 5406 times)
PhilWakely
Transport Scholar
Hero Member
******
Posts: 2020



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



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



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


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



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