summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mbyte.c4
-rw-r--r--src/version.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/mbyte.c b/src/mbyte.c
index 808194f792..ff23ab6afa 100644
--- a/src/mbyte.c
+++ b/src/mbyte.c
@@ -4468,8 +4468,10 @@ enc_locale(void)
if (acp == 1200)
STRCPY(buf, "ucs-2le");
- else if (acp == 1252) /* cp1252 is used as latin1 */
+ else if (acp == 1252) // cp1252 is used as latin1
STRCPY(buf, "latin1");
+ else if (acp == 65001)
+ STRCPY(buf, "utf-8");
else
sprintf(buf, "cp%ld", acp);
diff --git a/src/version.c b/src/version.c
index 7f3310e2c6..80976779af 100644
--- a/src/version.c
+++ b/src/version.c
@@ -758,6 +758,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2003,
+/**/
2002,
/**/
2001,