Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

8bit characters in templates

#3878

If I create a template containing cyrillic characters(utf8) rendered page is being less than it shoud.
I don't see , or if I add some more russian characters I don't see .

Sorry for my english.

Rails version: 3.0 beta.

Reported by smixok (at gmail) · February 6th, 2010 @ 12:22 PM

State: resolved
Milestone: none
Assigned to: nobody
Importance: Low

Activity

  1. MOE
    MOE

    Как это можно воспроизвести?

    February 7th, 2010 @ 05:49 PM

  2. smixok (at gmail)
    smixok (at gmail)

    http://www.sendspace.com/file/y5h8h9
    Вот приложение - здесь просто установлены authlogic, haml.

    Проблема возникает при запуске на ruby 1.9. Ubuntu.
    Пробовал с шаблонами erb - проблема та же самая.

    Сейчас буду смотреть на ruby 1.8

    February 8th, 2010 @ 04:03 AM

  3. smixok (at gmail)
    smixok (at gmail)

    С ruby1.8 этой проблемы нет(с использованием erb, когда пробовал шаблоны на haml, вылезал эксепшн, кричащий, что нельзя использовать html_safe! на строке.)

    February 8th, 2010 @ 05:15 AM

  4. smixok (at gmail)
    smixok (at gmail)

    Сама проблема видна по адресу /admin/categories

    February 8th, 2010 @ 06:49 AM

  5. Yaroslav Markin
    Yaroslav Markin
    • Tag changed from rails 3.0 to rails 3.0, actionview, utf8

    Try again with latest haml and Rails master, will ya?

    Any chance this is a duplicate of #2188 Encoding error in Ruby1.9 for templates?

    April 10th, 2010 @ 07:58 PM

  6. Ryan Bigg
    Ryan Bigg
    • State changed from new to resolved
    • Importance changed from to Low

    Marking this as a duplicate of #2188 Encoding error in Ruby1.9 for templates. Please take it up there.

    October 11th, 2010 @ 01:56 AM