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
Christa Maya, Ike, Andrew, Trainor, ekoorb1030
1327 Registered Users
Forum Statistics
Forums118
Topics9,234
Posts196,239
Members1,327
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 24
asygo 23
kland 16
December
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 31
Member Spotlight
Rick H
Rick H
Florida, USA
Posts: 3,249
Joined: January 2008
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
6 registered members (Daryl, Karen Y, dedication, daylily, 2 invisible), 1,887 guests, and 11 spiders.
Key: Admin, Global Mod, Mod
Previous Thread
Next Thread
Print Thread
Rate Thread
Process of Changing to UTF8 #190459
08/11/19 09:03 AM
08/11/19 09:03 AM
Daryl  Online Canadian
OP
Site Administrator
23000+ Member
Joined: Jul 2000
Posts: 25,133
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 09:18 AM
08/11/19 09: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 06:29 PM
08/12/19 06:29 PM
Daryl  Online Canadian
OP
Site Administrator
23000+ Member
Joined: Jul 2000
Posts: 25,133
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 05:13 AM
08/13/19 05: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 07:47 AM
08/13/19 07:47 AM
Daryl  Online Canadian
OP
Site Administrator
23000+ Member
Joined: Jul 2000
Posts: 25,133
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 08:37 AM
08/13/19 08: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 09:48 AM
08/13/19 09:48 AM
Daryl  Online Canadian
OP
Site Administrator
23000+ Member
Joined: Jul 2000
Posts: 25,133
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 10:11 AM
08/13/19 10: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 04:51 PM
08/13/19 04:51 PM
Daryl  Online Canadian
OP
Site Administrator
23000+ Member
Joined: Jul 2000
Posts: 25,133
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
Fourth quarter, 2024, The Gospel of John
by asygo. 12/02/24 06:50 PM
What are the seven kings of Rev. 17:10?
by dedication. 12/02/24 12:30 AM
Project 2025
by Rick H. 12/01/24 05:30 PM
Is it Over? Are we there?
by dedication. 11/29/24 05:50 PM
Seven Trumpets reconsidered
by Karen Y. 11/29/24 09:14 AM
No mail in Canada?
by kland. 11/26/24 10:54 AM
The 2024 Election, the Hegelian Dialectic
by ProdigalOne. 11/15/24 08:26 PM
"The Lord's Day" and Ignatius
by dedication. 11/15/24 02:19 AM
The Doctrine of the Nicolaitans
by dedication. 11/14/24 04:00 PM
Will Trump be able to lead..
by dedication. 11/13/24 07:13 PM
Is Lying Ever Permitted?
by kland. 11/13/24 05:04 PM
Global Warming Farce
by kland. 11/13/24 04:06 PM
Profiles Of Jesus In Zecharia
by dedication. 11/13/24 02:23 AM
Good and Evil of Higher Critical Bible Study
by dedication. 11/12/24 07:31 PM
The Great White Throne
by dedication. 11/12/24 06:39 PM
Most Recent Posts From Selected Private Forums of MSDAOL
Perils of the Emerging Church Movement
by dedication. 11/30/24 09:19 PM
Dr Ben Carson: Church and State
by TheophilusOne. 11/30/24 09:20 AM
Will Trump Pass The Sunday Law?
by dedication. 11/22/24 12:51 PM
Understanding the 1,260-year Prophecy
by dedication. 11/22/24 12:35 PM
Private Schools
by Rick H. 11/22/24 07:54 AM
The Church is Suing the State of Maryland
by Rick H. 11/16/24 04:43 PM
Has the Catholic Church Changed?
by TheophilusOne. 11/16/24 08:53 AM
Dr Conrad Vine Banned
by Rick H. 11/15/24 06:11 AM
Understanding the 1290 & 1335 of Daniel 12?
by dedication. 11/05/24 03:16 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