Skip to content

crashing with emoji #7

@wasawi

Description

@wasawi

Hi James, its Jordi from Japan,

I'm using this addon togheter with Carles, there has been another related issue here:
https://github.com/rezaali/ofxUI/issues/172

Well, we are receiving UTF-8 strings from the web and I noticed that ofxFTGL is crashing when receiving emojis:

str = "音"; // this does not crash
str = "\360\237\230\215"; // this crashes

Sorry,github doesnt let me paste the emoji either ... "Body contains unicode characters above 0xffff"

I'm looking for a way to findAndDestroy emojis :) I'm almost there but perhaps you know a smarter way to fix that. To me, it seems that FTGL crashes when receives 4 byte symbols. but I haven't completely tested out. I can find those and delete them in my code but probably the best it would be to have it fixed in the addon.

Any thoughts?
Cheers!
j

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions