Author Topic: Forum updated to UTF-8  (Read 3359 times)

0 Members and 1 Guest are viewing this topic.

TechAdmin

  • Sr. Member
  • *
  • Posts: 488
  • Country: it
Forum updated to UTF-8
« on: January 12, 2020, 12:38:25 PM »
Hello, as the title says the forum has been updated to UTF-8. This makes it so that "weird" characters such as èéëòóöàáä and similar stuff won't (shouldn't :P) have problems to display anymore ("Côte d'Ivoire" in profiles, for example).
If you're wondering "that's it? Just including some characters?" it's not that simple... It makes things easier because the whole system was kind of a mix-up with lots of different charsets used, most of which outdated or not really conventional ones ::) Other positive effects of this change are that the forum should be faster with the search feature, have some kind of better Google indexing and will make things easier for the big future upgrades.

Now the bad news. Since the database was such a mix-up the upgrade wasn't exactly smooth, there were some problems I had to solve including but not limited to a silly bug within a mod that locked the whole upgrade for a good half an hour before I could manage to track it down... I do have a backup of the database just in case, but if you do see broken topics/posts/anything strictly words-related please let me know in this topic.

Regards.

DamonHD

  • Administrator
  • Super Hero Member Plus
  • *****
  • Posts: 4125
  • Country: gb
    • Earth Notes
Re: Forum updated to UTF-8
« Reply #1 on: January 12, 2020, 01:41:59 PM »
Grazie mille!

Now we are being a little more polite to the non-ASCII-speaking world!  B^>

Rgds

Damon

Podcast: https://www.earth.org.uk/SECTION_podcast.html

@DamonHD@mastodon.social

JW

  • Development Manager
  • Super Hero Member Plus
  • *****
  • Posts: 4049
  • Country: us
    • Flashsteam.com
Re: Forum updated to UTF-8
« Reply #2 on: January 12, 2020, 03:50:01 PM »
I thought you were up to something today. I cant believe it went that smoothly GOOD JOB!!!!

SparWeb

  • Global Moderator
  • Super Hero Member Plus
  • *****
  • Posts: 5452
  • Country: ca
    • Wind Turbine Project Field Notes
Re: Forum updated to UTF-8
« Reply #3 on: January 12, 2020, 06:48:55 PM »
Félicitations.
Je peux te dire combien je l'apprécie maintenant!
No one believes the theory except the one who developed it. Everyone believes the experiment except the one who ran it.
System spec: 135w BP multicrystalline panels, Xantrex C40, DIY 10ft (3m) diameter wind turbine, Tri-Star TS60, 800AH x 24V AGM Battery, Xantrex SW4024
www.sparweb.ca

MagnetJuice

  • Hero Member
  • *****
  • Posts: 558
  • Country: ca
Re: Forum updated to UTF-8
« Reply #4 on: January 12, 2020, 07:47:41 PM »
Gracias señor, ahora podemos escribir loquerías aquí.  ;D

Ed
What can I do TODAY that would make TOMORROW a better world?

MagnetJuice

  • Hero Member
  • *****
  • Posts: 558
  • Country: ca
Re: Forum updated to UTF-8
« Reply #5 on: January 13, 2020, 02:54:20 PM »
I noticed this problem:

Here is some text from a recent thread:

This is why Adriaan is not enthusiastic about VAWT's, he is showing us that he's literally done the research into all the most promising units he could find, and none have suggested promise.    It's a bit surprising that he's willing to continue to comment on this forum as it must be frustrating to watch people tilt at windmills he knocked over years ago.

XXXXXXXXXXXXXXX

Here are the words that are messed-up:

VAWT's - he's - it's

It seems that happens when the text is copied from MS-WORD and posted to the Forum.

I don't remember that happening before the UTF-8 update.

I hope that this can be corrected.

Ed
What can I do TODAY that would make TOMORROW a better world?

TechAdmin

  • Sr. Member
  • *
  • Posts: 488
  • Country: it
Re: Forum updated to UTF-8
« Reply #6 on: January 13, 2020, 02:58:06 PM »
That's... Not something I can control if people use outdated fonts outside of the forum and then copy/paste from them into utf8. I can do a workaround and add (EDIT: yeah, can't type it anymore) as censored word, turning it into "'" but that's about it really.

JW

  • Development Manager
  • Super Hero Member Plus
  • *****
  • Posts: 4049
  • Country: us
    • Flashsteam.com
Re: Forum updated to UTF-8
« Reply #7 on: January 13, 2020, 03:22:00 PM »
There is a work around. When I insert text I use Wordpad, it works because there is no subscription but it is still a "rich text"

https://en.wikipedia.org/wiki/Rich_Text_Format

If that doesn't  work use notepad its what I do and you would be surprised how this works to not lock out text. So using notepad is completely compatible with UTF-8

TechAdmin

  • Sr. Member
  • *
  • Posts: 488
  • Country: it
Re: Forum updated to UTF-8
« Reply #8 on: January 13, 2020, 03:27:50 PM »
That's very true indeed :)
Also, go read me on skype already please.

JW

  • Development Manager
  • Super Hero Member Plus
  • *****
  • Posts: 4049
  • Country: us
    • Flashsteam.com
Re: Forum updated to UTF-8
« Reply #9 on: January 13, 2020, 03:40:01 PM »
Thanks Flavio, the characters look great!

Can you give me a little tutorial on how to insert the characters (on skype  :)

dnix71

  • SuperHero Member
  • ******
  • Posts: 2513
Re: Forum updated to UTF-8
« Reply #10 on: January 16, 2020, 08:50:35 PM »
So this means you need to be running XP SP3 to be up-to-date here ;)

Double-byte buffered fonts helped solve an OS security issue in Windows. Long ago when computers were slow and dumb "(640kb of ram should be enough for anyone)" BG and MS got it's office apps to run faster and render fonts faster by DCOM (distributed computing) and running font rendering in ram space. Which meant if you hacked a font you could load malware into ram and spread that to every machine on the network.

If all your fonts are double-byte (buffered if they were originally single-byte) then it is easier to protect the stack against a buffer overflow attack.

I had a friend install HP printer software with older single-byte fonts. Windows would throw an exception and place an empty file with the name of the obsolete font it would now refuse to render. it was a U with umlats over it. The friend freaked, because no matter how mant times she would delete the file, it would reappear. She thought she had a virus.

MS has always made money from it's office apps, so compromising safety for the sake of function made sense to them.

TechAdmin

  • Sr. Member
  • *
  • Posts: 488
  • Country: it
Re: Forum updated to UTF-8
« Reply #11 on: January 16, 2020, 08:58:54 PM »
So this means you need to be running XP SP3 to be up-to-date here ;)

;D