New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UTF8 Converter #108
Comments
can you suggest a module that does that? I'll gladly add it. |
Do you think about npm modules like this one? |
more like https://github.com/ashtuchkin/iconv-lite which is used by gulp-convert-encoding, thanks for the lead |
Do you need any additional support to make it work? I'll be happy to test it out when it gets ready. |
I would love to have to a sample DB dump to test with my self. |
Hello, لطÙ�ا Ù�قط کتب Ùˆ جزواتی را قرار دهید Ú©Ù‡ نویسنده ÛŒ آن هستید Ùˆ یا از نویسنده ÛŒ آن اجازه دارید. correct form is : لطفا فقط کتب و جزواتی را قرار دهید که نویسنده ی آن هستید و یا از نویسنده ی آن اجازه دارید. Who can help me? |
let me see what I can do. Im gonna close this one here akhoury/nodebb-plugin-import-vbulletin#4, as they are duplicates |
thanks, |
@sohrabafard can you provide me a with database dump to test with? feel free to send it privately to email bentael@gmail.com, and to obfuscate emails, password and other data unless you want to trust me with it :) |
I will send two tables vb_thread and vb_post that have bunch of utf8 data ( about 1.5K records ) Thanks a lot! |
an idea : convert fron Ansi to Utf-8 dosen't change any English text. https://community.nodebb.org/topic/7213/iterate-on-nodebb-posts |
let me know, if you get my mail! |
After install encoding packages:
As you suggest:
work fine to recover text, so I entered below JavaSacript code in pre-post input of nodebb-plugin-import:
I checked server/controller.js you define "encoding" I don't know why we have this error! |
i know why, hang on will fix it in an hour. |
actually just be fixed now |
in Topic Title:
|
and this error:
|
so we have just two error: first on:
that is:
second on:
that is:
and user,Category name and description,Private Message, user signature have no problem. |
secound problem solved buy running this command:
So I recommend you to add bbcode-to-markdown to dependecy. |
it is added as dependency. https://github.com/akhoury/nodebb-plugin-import/blob/master/package.json#L44 something is wrong with your installation. |
i install plugin using npm, |
can you show me your parseBefore function syntax ? you're not passing a string through. |
this works for category and post. |
use this instead, basically just add
|
Yes, the problem was solved! please close issue! Thanks a lotو |
UTF8 Database Converter have to be used before using NodeBB Import Tool.
At this moment nodebb-plugin-import breaks non-latin charakcters.
ą > ±
ć > æ
ę > ê
ł > ³
ń > ñ
ś > ¶
ż > ¿
SQL System Variables for IP.Board 2.3.x
collation_connection: latin1_swedish_ci
collation_database: latin1_swedish_ci
collation_server: latin1_swedish_ci
character_set_client: latin1
character_set_connection: latin1
character_set_database: latin1
character_set_results: latin1
character_set_server: latin1
character_set_system: utf8
The text was updated successfully, but these errors were encountered: