Hey tropers, we are about to undergo a large update to the tvtropes' database to convert the encoding. During this time the login system will be offline. You'll still be able to read TVTropes but you won't be able to post or edit anything during the conversion.
How long will the login system be down?
My most recent test run took 9 hours (my first test took 20+ hours so this is after a lot of optimizations to get down to 9 hours). ***it will now take 11 hours. see update below
Can you give me more details?
TVTropes was originally hosted on Windows' servers back in the day and all content on the site is encoded with Windows 1252 (a superset of ISO-8859-1, aka latin1).
According to the W3Tech, only 1.3% of internet traffic is ISO-8859-1. I'm guessing a large amount of that is TVTropes considering we have millions of pages defined with that charset.
The majority of the internet is encoded in UTF8. By doing this conversion it will bring us up to modern standards with the rest of the web and allow us to more easily support other languages and icons. It will also allow us to use more modern tools to help with editing such adding a WYSIWYG editor option. It will also help with code development as we often have to add special workarounds to continue to support this long deprecated charset.
Are we changing anything else?
While we have the login system offline, we are going to upgrade the edits history database table to include a sequence number. We've always wanted to do this but it could not be done while the site was online. That table has 40M+ rows of data. With this change we'll be able to make it so we can easily jump to any page when filtering to edits from a specific page or from a specific user. We have this for the forum and that's why you can jump to page 500 for example of a long running thread and not have a long delay.
When will this happen?
UPDATE: (take two) This is now scheduled for Mon Dec 5th at 8:30PM PST until Tue Dec 6th at 7:30AM
At 8:30PM PST you will be logged-off of TVTropes so make sure to save anything before that time. Once the conversion is done the next morning, I'll point the code to the new server and everyone should be auto logged in. If not, when you see the all clear announcement at the top of the page, go ahead and try logging in again.
The process will take approximately 11 hours. I had it down to 9 hours until I found examples of utf8 encoded values inside latin1 columns so I had to add some extra testing to ensure that data doesn't get double encoded in the process.
If you have any issues during the migration please send an email to thestaff@tvtropes.org
UPDATE: (complete) The migration is officially complete. It ended up taking nearly 12 hours but we got there. All data on TVTropes (hundreds of millions of rows of data) has now been converted from Latin1 to UTF8. We now have the same encoding as 99% of other websites and can support special characters and other languages. It will also allow us to build other tools such as a WYSIWYG editor.
Edited by itcdr on Dec 6th 2023 at 8:48:40 AM
Sorry if I'm misunderstanding, but is this to say that the use of the font for viewing pages and forum posts being used when editing a page and viewing its history is intended? Because it feels like a bug considering that the box I'm writing this very post in still uses a different, fixed-width font like before.
That said, I do appreciate all the work put into this migration, congratulations!
Edited by Dirtyblue929 on Dec 6th 2023 at 8:46:32 AM
~itcdr Yes, congratulations on the success of the effort!
Edited by skewview on Dec 6th 2023 at 4:47:03 PM
AFK with issues, will returnYeah, for example, that Word quote I just did would just throw up code for those quotation marks under the old char set.
And yeah, the edit box font is different, but I think it's a good thing, because now you can more clearly see what the actual page is going to look like. A nice next step would be for the edit box to auto-replace wiki links and such, so that it shows you whether it works or not right away.
Edited by Redmess on Dec 6th 2023 at 5:50:12 PM
Hope shines brightest in the darkest timesWell, what do you know? Everyone and everything's back!
Edited by OmegaPC777 on Dec 6th 2023 at 12:22:35 PM
An excited Wally Walrus for everyone! (Check out my troper wall if you can!)As a reminder, currently on pages all foregin language is saved in bytecode. The update's idea is that if you save foreign text in articles, it should now retain next time (on live page both look exactly the same). So feel free to replace bytecode on articles with foreign text.
And also forum posts should stop looking glitchy in previews.
Also yeah, literally any font but the standard one would be cool, maybe monospace can be applied to English only for now?
Edited by Amonimus on Dec 6th 2023 at 7:52:11 PM
TroperWall / WikiMagic Cleanup<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
Heck yeah!
Kory, please see here
for some help with fonts with broad unicode coverage.
Double apostrophes (for italics markup) & quotation marks are hard to tell apart with the new font.
Peace is the only battle worth waging.Is UTF 8 a programming language or a database? I know nothing about coding, so I was confused.
Cheeky but charming.

I like the old source fonts in the history and editing page too (I think that was what was being referenced) but everything else looks great!
Edited by lalalei2001 on Dec 6th 2023 at 11:45:24 AM
The Protomen enhanced my life.