# MyBB importer: "Invalid codepoint"

**URL:** https://meta.discourse.org/t/mybb-importer-invalid-codepoint/40015
**Category:** Migration
**Tags:** mybb
**Created:** [February 22, 2016, 11:12pm UTC](https://meta.discourse.org/t/mybb-importer-invalid-codepoint/40015 "2016-02-22T23:12:41Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jacotec](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jacotec/32/51692_2.png) [@jacotec](https://meta.discourse.org/u/jacotec)
#### Post date: [February 22, 2016, 11:12pm UTC](https://meta.discourse.org/t/mybb-importer-invalid-codepoint/40015/1 "2016-02-22T23:12:41Z")

</div>

Hi,

I’m trying to do a test import of my “MyBB” board with around 30.000 posts in it. I’ve got the importer running, but it’s struggling at a specific post:

`8795 / 29774 ( 29.5%) [208248 items/min] /usr/local/lib/ruby/2.0.0/cgi/util.rb:71:in`chr’: invalid codepoint 0xDBC0 in UTF-8 (RangeError)`

There is no way to get over this, looks like a specific post is bad for the import script.

I see two possible options:

- Delete that posting - but how can I find out what post 8795 is?

- Patch/Hotfix the import script - anyone an idea?

---

<div class="post-metadata">

### Author: ![jacotec](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jacotec/32/51692_2.png) [@jacotec](https://meta.discourse.org/u/jacotec)
#### Post date: [February 23, 2016, 8:56am UTC](https://meta.discourse.org/t/mybb-importer-invalid-codepoint/40015/2 "2016-02-23T08:56:04Z")

</div>

Hi,

I’ve solved this by putting a debug output into the import script to get the post PID’s … then edited the weird text in PHPMyAdmin 😊

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [February 23, 2016, 9:30am UTC](https://meta.discourse.org/t/mybb-importer-invalid-codepoint/40015/3 "2016-02-23T09:30:50Z")

</div>


