HOME CHAT ROOM #1 CHAT ROOM #2 Forum Topics Within The Last 7 Days REGISTER ENTER FORUMS BIBLE SCHOOL CONTACT US

Maritime 2nd Advent Believers OnLine Christian Family Fellowship Forums
(formerly Maritime SDA OnLine)
Consisting mainly of both members and friends of the Seventh-day Adventist Church
Welcomes and invites other members and friends of the Seventh-day Adventist Church to join us!

Click Here To Read Legal Notice & Disclaimer
Suggested a One Time Yearly $20 or Higher Donation Accepted Here to Help Cover the Yearly Expenses of Operating & Upgrading. We need at least $20 X 10 yearly donations.
Donations accepted: Here
ShoutChat Box
Newest Members
ekoorb1030, jibb555, MBloomfield, Dina, Nelson
1323 Registered Users
Forum Statistics
Forums118
Topics9,194
Posts195,566
Members1,323
Most Online5,850
Feb 29th, 2020
Seventh-day Adventist Church In Canada Links
Seventh-day Adventist Church in Canada

Newfoundland & Labrador Mission

Maritime Conference

Quebec Conference

Ontario Conference

Manitoba-Saskatchewan Conference

Alberta Conference

British Columbia Conference

7 Top Posters(30 Days)
Rick H 16
kland 11
Daryl 3
April
S M T W T F S
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
Member Spotlight
ProdigalOne
ProdigalOne
Alberta, Canada
Posts: 1,178
Joined: June 2015
Show All Member Profiles 
Today's Birthdays
No Birthdays
Live Space Station Tracking
Here is a link to show exactly where the Space Station is over earth right now: Click Here
Last 7 Pictures From Photo Gallery Forums
He hath set an harvest for thee
Rivers Of Living Water
He Leads Us To Green Pastures
Remember What God Has Done
Remember The Sabbath
"...whiter than snow..."
A Beautiful Spring Day
Who's Online
2 registered members (ProdigalOne, 1 invisible), 2,639 guests, and 15 spiders.
Key: Admin, Global Mod, Mod
Previous Thread
Next Thread
Print Thread
Rate Thread
Process of Changing to UTF8 #190459
08/11/19 10:03 AM
08/11/19 10:03 AM
Daryl  Offline
OP
Site Administrator
23000+ Member
Joined: Jul 2000
Posts: 25,121
Nova Scotia, Canada
This is where we are going to discuss the process of changing to UTF8.

Anybody who knows the process of doing this safely, please share your thoughts here.


In His Love, Mercy & Grace,

Daryl smile

John 8:32 And ye shall know the truth, and the truth shall make you free.

http://www.christians-discuss.com/forum/index.php
Re: Process of Changing to UTF8 [Re: Daryl] #190461
08/11/19 10:18 AM
08/11/19 10:18 AM
Green Cochoa  Offline
SDA
Active Member 2021

5500+ Member
Joined: Apr 2008
Posts: 7,003
The Orient
Originally Posted by Daryl
This is where we are going to discuss the process of changing to UTF8.

Anybody who knows the process of doing this safely, please share your thoughts here.

I've never worked with UBB.threads specifically before, but I have some experience with converting MySQL databases. What database and/or engine do you use with UBB.threads? Also, what character set is it currently using?

Blessings,

Green Cochoa.


We can receive of heaven's light only as we are willing to be emptied of self. We can discern the character of God, and accept Christ by faith, only as we consent to the bringing into captivity of every thought to the obedience of Christ. And to all who do this, the Holy Spirit is given without measure. In Christ "dwelleth all the fulness of the Godhead bodily. And ye are complete in Him." [Colossians 2:9, 10.] {GW 57.1} -- Ellen White.
Re: Process of Changing to UTF8 [Re: Daryl] #190491
08/12/19 07:29 PM
08/12/19 07:29 PM
Daryl  Offline
OP
Site Administrator
23000+ Member
Joined: Jul 2000
Posts: 25,121
Nova Scotia, Canada
Checking into this.


In His Love, Mercy & Grace,

Daryl smile

John 8:32 And ye shall know the truth, and the truth shall make you free.

http://www.christians-discuss.com/forum/index.php
Re: Process of Changing to UTF8 [Re: Daryl] #190495
08/13/19 06:13 AM
08/13/19 06:13 AM
Green Cochoa  Offline
SDA
Active Member 2021

5500+ Member
Joined: Apr 2008
Posts: 7,003
The Orient
My experience is mostly limited to MySQL and MariaDB. In MySQL, some helpful commands might include the following:

To show the character set for the database, the query would be:

SHOW VARIABLES LIKE "character_set_database";


To see the character collation for a particular table:

SHOW FULL COLUMNS FROM table_name;

For example:


mysql> show full columns from KJV;
+-----------+-------------+--------------------+------+-----+---------+-------+---------------------------------+---------+
| Field | Type | Collation | Null | Key | Default | Extra | Privileges | Comment |
+-----------+-------------+--------------------+------+-----+---------+-------+---------------------------------+---------+
| RecordNum | smallint(6) | NULL | NO | PRI | NULL | | select,insert,update,references | |
| Book | tinyint(4) | NULL | NO | | NULL | | select,insert,update,references | |
| Chapter | smallint(6) | NULL | NO | | NULL | | select,insert,update,references | |
| Verse | smallint(6) | NULL | NO | | NULL | | select,insert,update,references | |
| Text | mediumtext | utf8mb4_unicode_ci | YES | | NULL | | select,insert,update,references | |
+-----------+-------------+--------------------+------+-----+---------+-------+---------------------------------+---------+



Check if the conversion will see UTF8:

SELECT CONVERT(CAST(Text as BINARY) USING utf8) FROM table LIMIT 5;


Blessings,

Green Cochoa.


We can receive of heaven's light only as we are willing to be emptied of self. We can discern the character of God, and accept Christ by faith, only as we consent to the bringing into captivity of every thought to the obedience of Christ. And to all who do this, the Holy Spirit is given without measure. In Christ "dwelleth all the fulness of the Godhead bodily. And ye are complete in Him." [Colossians 2:9, 10.] {GW 57.1} -- Ellen White.
Re: Process of Changing to UTF8 [Re: Daryl] #190496
08/13/19 08:47 AM
08/13/19 08:47 AM
Daryl  Offline
OP
Site Administrator
23000+ Member
Joined: Jul 2000
Posts: 25,121
Nova Scotia, Canada
According to the information I have, the default is UTF-8:

default_charset UTF-8


In His Love, Mercy & Grace,

Daryl smile

John 8:32 And ye shall know the truth, and the truth shall make you free.

http://www.christians-discuss.com/forum/index.php
Re: Process of Changing to UTF8 [Re: Daryl] #190498
08/13/19 09:37 AM
08/13/19 09:37 AM
Green Cochoa  Offline
SDA
Active Member 2021

5500+ Member
Joined: Apr 2008
Posts: 7,003
The Orient
Then the next step is to make sure that the forum software is also UTF8. It should accept only UTF8 input from each form. This may be a forum setting somewhere in the administration panels.

According to UBBWiki pages: https://www.ubbwiki.com/article/view/29/converting-to-utf8.html
Originally Posted by UBBWiki
In 2010, as part making that same forum much more SEO friendly, I updated in the language files and the header meta tags from "iso-8859-1" to "utf-8" (Control Panel > Languages > Language Editor > generic.php > CHARSET).


It looks like there may be some helpful information on that page, including advice to backup the DB before changing things!

Blessings,

Green Cochoa.


We can receive of heaven's light only as we are willing to be emptied of self. We can discern the character of God, and accept Christ by faith, only as we consent to the bringing into captivity of every thought to the obedience of Christ. And to all who do this, the Holy Spirit is given without measure. In Christ "dwelleth all the fulness of the Godhead bodily. And ye are complete in Him." [Colossians 2:9, 10.] {GW 57.1} -- Ellen White.
Re: Process of Changing to UTF8 [Re: Daryl] #190499
08/13/19 10:48 AM
08/13/19 10:48 AM
Daryl  Offline
OP
Site Administrator
23000+ Member
Joined: Jul 2000
Posts: 25,121
Nova Scotia, Canada
The character set in that file is iso-8859-1.

If I were to simply change it to utf-8, what would happen?


In His Love, Mercy & Grace,

Daryl smile

John 8:32 And ye shall know the truth, and the truth shall make you free.

http://www.christians-discuss.com/forum/index.php
Re: Process of Changing to UTF8 [Re: Daryl] #190502
08/13/19 11:11 AM
08/13/19 11:11 AM
Green Cochoa  Offline
SDA
Active Member 2021

5500+ Member
Joined: Apr 2008
Posts: 7,003
The Orient
If the database is already set up to accept utf8, there's no question but that, going forward, the posts would all be handled correctly after the change. However, the old posts may first need to be converted before they will be properly displayed.

Here's the deal: Your database has been receiving ISO-8859-1 but storing it as UTF-8. This means if you convert the forum to UTF-8, it will now be receiving posts that have been stored in ISO-8859-1 while expecting UTF-8. This will likely mean that for certain characters, they will show up incorrectly.

There are websites that talk about this problem, because you are hardly the first to face it. That is where the MySQL command to convert from one character set to another may be useful. On the other hand, it may not be possible via a command like that without exporting the entire DB first and re-importing it after making an adjustment to the exported file's character set identification.

I've been through this process before, and it's not too fun, but can be done in a couple hours' time if needing to research how first--and if one were very familiar with the process already, it might be less than 20 minutes, start to finish.

You can find helpful guides for how to do it by googling for something like "convert mysql database to utf8".

Blessings,

Green Cochoa.


We can receive of heaven's light only as we are willing to be emptied of self. We can discern the character of God, and accept Christ by faith, only as we consent to the bringing into captivity of every thought to the obedience of Christ. And to all who do this, the Holy Spirit is given without measure. In Christ "dwelleth all the fulness of the Godhead bodily. And ye are complete in Him." [Colossians 2:9, 10.] {GW 57.1} -- Ellen White.
Re: Process of Changing to UTF8 [Re: Daryl] #190513
08/13/19 05:51 PM
08/13/19 05:51 PM
Daryl  Offline
OP
Site Administrator
23000+ Member
Joined: Jul 2000
Posts: 25,121
Nova Scotia, Canada
I am also asking the UBB people about this in their help forum.


In His Love, Mercy & Grace,

Daryl smile

John 8:32 And ye shall know the truth, and the truth shall make you free.

http://www.christians-discuss.com/forum/index.php

Sabbath School Lesson Study Material Link
Here is the link to this week's Sabbath School Lesson Study and Discussion Material: Click Here
Most Recent Posts From Selected Public Forums
Iran strikes Israel as War Expands
by Rick H. 04/14/24 08:00 PM
Nebuchadnezzar Speaks: The Sunday Law
by Rick H. 04/13/24 10:07 AM
Will You Take The Wuhan Virus Vaccine?
by kland. 04/11/24 12:24 PM
Global Warming Farce
by kland. 04/11/24 12:20 PM
Chinese Revival?
by ProdigalOne. 04/06/24 06:12 PM
Carbon Dioxide What's so Bad about It?
by Daryl. 04/05/24 12:04 PM
Destruction of Canadian culture
by ProdigalOne. 04/05/24 07:46 AM
The Gospel According To John
by dedication. 04/01/24 08:10 PM
Seven Trumpets reconsidered
by Karen Y. 03/31/24 06:44 PM
Easter Sunday, Transgender Day of Visibility?
by dedication. 03/31/24 01:34 PM
The Story of David and Goliath
by TruthinTypes. 03/30/24 12:02 AM
Are the words in the Bible "imperfect"?
by Kevin H. 03/24/24 09:02 PM
Most Recent Posts From Selected Private Forums of MSDAOL
Is There A Connection Between WO & LGBTQ?
by ProdigalOne. 04/15/24 09:43 PM
The Wound Is Healed! The Mark Is Forming!
by Rick H. 04/13/24 10:31 AM
Christian Nationalism/Sunday/C
limate Change

by Rick H. 04/13/24 10:19 AM
A Second American Civil War?
by kland. 04/11/24 12:39 PM
A.I. - The New God?
by kland. 04/11/24 12:34 PM
Perils of the Emerging Church Movement
by ProdigalOne. 04/06/24 07:10 PM
Are we seeing a outpouring of the Holy Spirit?
by dedication. 04/01/24 07:48 PM
Time Is Short!
by ProdigalOne. 03/29/24 10:50 PM
Climate Change and the Sunday Law
by Rick H. 03/24/24 06:42 PM
WHAT IS THE VERY END-TIME PROPHECY?
by Rick H. 03/23/24 06:03 PM
Digital Identity Control
by Rick H. 03/23/24 02:08 PM
Forum Announcements
Visitors by Country Since February 11, 2013
Flag Counter
Google Maritime SDA OnLine Public Forums Site Search & Google Translation Service
Google
 
Web www.maritime-sda-online.com

Copyright 2000-Present
Maritime 2nd Advent Believers OnLine (formerly Maritime SDA OnLine).

LEGAL NOTICE:
The views expressed in this forum are those of individuals
and do not necessarily represent those of Maritime 2nd Advent Believers OnLine,
as well as the Seventh-day Adventist Church
from the local church level to the General Conference level.

Maritime 2nd Advent Believers OnLine (formerly Maritime SDA OnLine) is also a self-supporting ministry
and is not part of, or affiliated with, or endorsed by
The General Conference of Seventh-day Adventists headquartered in Silver Spring, Maryland
or any of its subsidiaries.

"And He saith unto them, follow Me, and I will make you fishers of men." Matt. 4:19
MARITIME 2ND ADVENT BELIEVERS ONLINE (FORMERLY MARITIME SDA ONLINE) CONSISTING MAINLY OF BOTH MEMBERS & FRIENDS
OF THE SEVENTH-DAY ADVENTIST CHURCH,
INVITES OTHER MEMBERS & FRIENDS OF THE SEVENTH-DAY ADVENTIST CHURCH ANYWHERE IN THE WORLD WHO WISHES TO JOIN US!
Powered by UBB.threads™ PHP Forum Software 7.7.1