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

Encoding problem Russian::strftime(Time.now) #2

Closed
fireharp opened this issue Jul 5, 2009 · 2 comments
Closed

Encoding problem Russian::strftime(Time.now) #2

fireharp opened this issue Jul 5, 2009 · 2 comments

Comments

@fireharp
Copy link

fireharp commented Jul 5, 2009

Первая часть правильно закодирована в юникод, вторая в ASCII.

Вот, как выглядит строка в браузере
Вс, 05 июля 2009, 10:07:46 ���������� ����� (����)
HTML
Р’СЃ, 05 июля 2009, 10:07:46 Московское время (лето)

@yaroslav
Copy link
Owner

Возможно, в вашем проекте для вывода используется не UTF-8? i18n работает только с юникодом, если нужно использовать другую кодировку, можно перекодировать на лету или для конкретного проекта переписать все переводы.

@yaroslav
Copy link
Owner

yaroslav commented Sep 5, 2009

long time no see

asavartsov pushed a commit to asavartsov/russian that referenced this issue Jun 7, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants