Skip to content
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

XmpMetaFactory.SerializeToString returning a string with a BOM at the start? #52

Open
Numpsy opened this issue Feb 29, 2024 · 0 comments

Comments

@Numpsy
Copy link
Contributor

Numpsy commented Feb 29, 2024

Hi,
I've been doing some testing with reading and modifying some existing XMP, and then converting back to a string with XmpMetaFactory.SerializeToString and it appears to me as though the the returned string has a BOM at the start?

I noticed because If I try to convert the XMP to a string and then parse that straight back with XmpMetaFactory.ParseFromString then this happens:

image

And then the first character is this:

image

and if I trim out the first character then the parse works.

Is this correct?

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant