bom.h 188 B

12345678
  1. #include <stdio.h>
  2. #include <string.h>
  3. enum { NOBOM, HASBOM, ERROR, SUCCESS };
  4. int checkBOM(const char *filePath);
  5. int removeBOM(const char *filePath);
  6. int addBOM(const char *filePath);