itchyny / calendar.vim

A calendar application for Vim
MIT License
1.95k stars 72 forks source link

week name show error #87

Closed imbear closed 9 years ago

imbear commented 9 years ago

Chinese Win7 + Japanese local calendar - d__ - gvim -2015-05-13 10_41_51

itchyny commented 9 years ago

What does the following command show?

:echo map(range(3, 9), "strftime('%A', 60 * 60 * (24 * v:val + 10))")
imbear commented 9 years ago

:echo map(range(3, 9), "strftime('%A', 60 * 60 * (24 * v:val + 10))") ['ミヌニレネユ', 'ミヌニレメサ', 'ミヌニレカ', 'ミヌニレネ', 'ミヌニレヒト', 'ミヌニレホ・', 'ミヌニレチ・']

it seem that the text is gbk encoding.

itchyny commented 9 years ago

What is the result of the command? :echo $LANG

imbear commented 9 years ago

:echo $LANG chinese_china

itchyny commented 9 years ago

Still I cannot get what happens on your PC and it'll too much for me to prepare the same environment. The following configuration sets the locale of the calendar to English.

let g:calendar_locale = 'en'
imbear commented 9 years ago

Thanks!