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

Add Support to stringtools for detecting BOM #72

Open
Sqeaky opened this issue Jul 26, 2020 · 0 comments
Open

Add Support to stringtools for detecting BOM #72

Sqeaky opened this issue Jul 26, 2020 · 0 comments
Milestone

Comments

@Sqeaky
Copy link
Member

Sqeaky commented Jul 26, 2020

Some Unicode text files have a Byte Order Mark at the beginning of the file. This is usually 4 bytes that indicate if the file was made on a big or little endian machines. The JagatiIndex.cmake file has one that can be used as an Example. Having at least 4 functions on the StringTools seems like a good idea: IsBigEndianBOM(String), isLittleEndingBOM(String), IsBom(String), IsBOMDigit(Character).

@Sqeaky Sqeaky added this to the 1.0 milestone Jul 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant