Porting to glyphs, error

Using the macro to convert from FL, I got this error msg. Any ideas?

SyntaxError: ‘utf8’ codec can’t decode byte 0x9f in position 4859: invalid start byte

That means you have a character in you string that is not valid utf-8. Can you send me the script?

The script is https://raw.githubusercontent.com/schriftgestalt/Glyphs-Scripts/master/Glyphs%20Export.py executing it from FL macro panel.

Can you post the full error message?

Then I would need the .vfb. There are sometimes some pieces of stuff in the .vfb that need special attention.

The error msg is just >

File “”, line 0
SyntaxError: ‘utf8’ codec can’t decode byte 0x9f in position 4859: invalid start byte

Can you point me what are the things I have to check in the .vfb? At least, I have no unicode conflicts.

I was thinking how to ignore the or those glyphs with problems, searching there could be possible by adding Uni = unicode(Value, errors=‘ignore’) but I am not so sure how to implement it.

Thanks

It has probably nothing to do with the glyphs but with some piece of the font info. I can dig into the file to figure this out.

1 Like