I’m trying to import from a Vanilla forum using the instructions posted here. However, I get the following error when I run the vanilla.rb import script:
Loading existing groups... Loading existing users... Loading existing categories... Loading existing posts... Loading existing topics... parsing file... reading file... Traceback (most recent call last): 5: from script/import_scripts/vanilla.rb:254:in `<main>' 4: from /var/www/discourse/script/import_scripts/base.rb:47:in `perform' 3: from script/import_scripts/vanilla.rb:17:in `execute' 2: from script/import_scripts/vanilla.rb:37:in `parse_file' 1: from script/import_scripts/vanilla.rb:72:in `read_file' script/import_scripts/vanilla.rb:72:in `gsub': invalid byte sequence in UTF-8 (ArgumentError)
I’ve tried changing the MySQL database character set to UTF8 following the instructions here and then re-exporting the porter file, but that didn’t resolve the issue. Any suggestions?