| 2008-09-06 16:39:49 | Ответить |
|---|---|
|
Ruslan Voloshin Адрес: odessa Сообщений: 1293 Регистр: 2007-03-13 его блог 40 сообщ. |
Возвращаясь к содировке приложения |
|
сегодян надыбал следующий код в rails инициализаторе
------------
# For Ruby 1.8, this initialization sets $KCODE to 'u' to enable the # multibyte safe operations. Plugin authors supporting other encodings # should override this behaviour and set the relevant +default_charset+ # on ActionController::Base. # # For Ruby 1.9, this does nothing. Specify the default encoding in the Ruby # shebang line if you don't want UTF-8. Занимаюсь вебом и продвижением сайтов.
|
|
| Encoding, руби, KCODE |