summaryrefslogtreecommitdiff
path: root/apps/misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/misc.h')
-rw-r--r--apps/misc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/misc.h b/apps/misc.h
index 6305bcad62..2206894304 100644
--- a/apps/misc.h
+++ b/apps/misc.h
@@ -66,6 +66,13 @@ bool list_stop_handler(void);
66void car_adapter_mode_init(void) INIT_ATTR; 66void car_adapter_mode_init(void) INIT_ATTR;
67extern int show_logo(void); 67extern int show_logo(void);
68 68
69/* Unicode byte order mark sequences and lengths */
70#define BOM_UTF_8 "\xef\xbb\xbf"
71#define BOM_UTF_8_SIZE 3
72#define BOM_UTF_16_LE "\xff\xfe"
73#define BOM_UTF_16_BE "\xfe\xff"
74#define BOM_UTF_16_SIZE 2
75
69int open_utf8(const char* pathname, int flags); 76int open_utf8(const char* pathname, int flags);
70 77
71#ifdef BOOTFILE 78#ifdef BOOTFILE