@jimc avatar
UTC

Moderaptor
The Hornet (GT200, aka Love Bug) and 'Dimples' - a GTS 300
Joined: UTC
Posts: 45968
Location: Pleasant Hill, CA
 
Moderaptor
@jimc avatar
The Hornet (GT200, aka Love Bug) and 'Dimples' - a GTS 300
Joined: UTC
Posts: 45968
Location: Pleasant Hill, CA
UTC quote
I still double-space when typing. Many of my internet interactions are in still in plain text not HTML, and I see no reason to make those look carelessly composed.
OP
@jess avatar
UTC

Petty Tyrant
0:7 and counting
Joined: UTC
Posts: 39715
Location: Bay Area, California
 
Petty Tyrant
@jess avatar
0:7 and counting
Joined: UTC
Posts: 39715
Location: Bay Area, California
UTC quote
jimc wrote:
I still double-space when typing. Many of my internet interactions are in still in plain text not HTML, and I see no reason to make those look carelessly composed.
Shade.
@syd avatar
UTC

Veni, Vidi, Posti
GTS300 Super (Mustard) GTS250 Super (Bulger)
Joined: UTC
Posts: 5318
Location: Tempe, AZ
 
Veni, Vidi, Posti
@syd avatar
GTS300 Super (Mustard) GTS250 Super (Bulger)
Joined: UTC
Posts: 5318
Location: Tempe, AZ
UTC quote
Ironfoot wrote:
Internet says the face part in the middle is a Japanese Katakana character.


It looks nice, thanks.
OP
@jess avatar
UTC

Petty Tyrant
0:7 and counting
Joined: UTC
Posts: 39715
Location: Bay Area, California
 
Petty Tyrant
@jess avatar
0:7 and counting
Joined: UTC
Posts: 39715
Location: Bay Area, California
UTC quote
jess wrote:
It's done. Well, the bulk of it, anyway.
Narrator: it wasn't actually done.

I have been chipping away at this project, on and off, attempting to convert the entire MV database to UTF8 (utf8mb4, to be precise, Oliver) and have made some headway. Turns out that the problem wasn't isolated solely to CP-1252 and Unicode, but (as I've recently discovered) I had some low-ASCII control characters creep in as well. No idea how, but there were a few posts in particular (that seemed to be copied from Piaggio press releases) where the bulk of it came from.

The really nasty part is that some of these control characters ended up as database index keys, and when I tried to convert the database to UTF8, it would strip out the control characters but then end up with duplicate keys. This seems to be the central issue that I've been hitting all along whenever I've tried to export and then re-import the database.

I've put a new filter in place to prevent any more low-ASCII control characters (besides the few that are legit -- CR/LF/Tab) and I've written some new routines to scan the database for any more occurrences of it. I think I've finally gotten all of it now.

Narrator: ...

Shut up! @#$% narrator!

Anywho, I am currently doing another test-conversion of a copy of the MV database. It is currently crunching through the posts themselves, by far the largest single portion of the database. I haven't hit the historically-problematic tables yet (those would be the search index tables) but I am feeling fairly confident at this point.

Narrator: He...

SHUT UP!

Okay, where was I? Yeah. Test conversion. We'll see how it goes.
OP
@jess avatar
UTC

Petty Tyrant
0:7 and counting
Joined: UTC
Posts: 39715
Location: Bay Area, California
 
Petty Tyrant
@jess avatar
0:7 and counting
Joined: UTC
Posts: 39715
Location: Bay Area, California
UTC quote
Balls.
Forum member supplied image with no explanatory text
OP
@jess avatar
UTC

Petty Tyrant
0:7 and counting
Joined: UTC
Posts: 39715
Location: Bay Area, California
 
Petty Tyrant
@jess avatar
0:7 and counting
Joined: UTC
Posts: 39715
Location: Bay Area, California
UTC quote
Just noting for the record that this task is now complete. The entire MV database has been sanitized and all tables converted to utf8mb4. This means that we can now use a wider range of characters, such as the Euro currency symbol, emdash, endash, and ellipsis.

Here’s my standard test string I’ve been using to validate the problem and the fix:
€15.00 Apostrophe’s “quotes” umläut ellipsis… en–dash em—dash

Modern Vespa is the premier site for modern Vespa and Piaggio scooters. Vespa GTS300, GTS250, GTV, GT200, LX150, LXS, ET4, ET2, MP3, Fuoco, Elettrica and more.

Modern Vespa is made possible by our generous supporters.

Buy Me A Coffee
 

Shop on Amazon with Modern Vespa

Modern Vespa is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com


All Content Copyright 2005-2026 by Modern Vespa.
All Rights Reserved.


[ Time: 0.0132s ][ Queries: 4 (0.0038s) ][ live ][ 343 ][ ThingOne ]