![]() I'm using Nhibernate as my ORM and the insert query generated looks like this: Insert into `Content` (ContentTypeId, Comments, DateCreated) This is my schema for the relevant column: ![]() So I'm trying to just remove all the emoji characters before saving it in the database. It looks like mysql UTF8 doesn't really support unicode characters and the right way to do it would be by changing the schema but I don't think that is an option for me. I'm trying to save the user input into mysql. except, I'm not sure how to convert that emoji into it's unicode sequence. I'm trying to just remove all such emojis from the text with rejex. Simply put, I want the output text to be Text text I've got a text input from a mobile device.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |