Skip to content

Not detecting unicode symbols in fp-telegram #17

@FeroxGraxaim

Description

@FeroxGraxaim

Good morning!
I'm trying to make my BOT detect unicode symbols lilke fractions in a TRegExpr expression:
'((?:\d+\s?(?:1/8|1/4|3/8|1/2|5/8|3/4|7/8|\¼|\½|\¾|\⅛|\⅜|\⅝|\⅞)|\d+(?:[.,]\d+)?))#',

But the unicode symbols are not detected in a message, but are detected in a string that I put the symbol on it manually.
So for example I put a message with ¼" and it's not converting to milimiters, I need to put 1/4" to work.

How to solve this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions