Quantcast
Channel: General help
Viewing all articles
Browse latest Browse all 39737

Re: Strange characters after moving db and upgrading

$
0
0
by Mignonne Davis.  

OK, so realizing this was called double encoding was what I needed, thank you Guillermo!

So, what I did to fix:  I brought over the old database that was from my 2.1 Moodle

Then, I ran this:

mysqldump -h DB_HOST -u DB_USER -p DB_PASSWORD --opt --quote-names \--skip-set-charset --default-character-set=latin1 DB_NAME > DB_NAME-dump.sqlmysql-h DB_HOST -u DB_USER -p DB_PASSWORD \--default-character-set=utf8 DB_NAME < DB_NAME-dump.sql
Then, I just went to the site, which forced me to upgrade my db and all was well!  Hope this helps others.

Viewing all articles
Browse latest Browse all 39737

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>