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.

Bad uniclode support

#126

I use Russia unicode

locale

LANG=ru_RU.UTF-8
LC_CTYPE="ru_RU.UTF-8"
LC_NUMERIC="ru_RU.UTF-8"
LC_TIME="ru_RU.UTF-8"
LC_COLLATE="ru_RU.UTF-8"
LC_MONETARY="ru_RU.UTF-8"
LC_MESSAGES="ru_RU.UTF-8"
LC_PAPER="ru_RU.UTF-8"
LC_NAME="ru_RU.UTF-8"
LC_ADDRESS="ru_RU.UTF-8"
LC_TELEPHONE="ru_RU.UTF-8"
LC_MEASUREMENT="ru_RU.UTF-8"
LC_IDENTIFICATION="ru_RU.UTF-8"
LC_ALL=

And in the web interface there is a problem with displaying characters:

Reported by Leonid Batizhevsky · December 15th, 2010 @ 05:53 AM

State: new
Milestone: Rundeck 1.0
Assigned to: nobody

Activity

  1. Alex-SF
    Alex-SF
    • Milestone set to Rundeck 1.0
    • Milestone order changed from 17 to 0

    December 17th, 2010 @ 07:48 AM

  2. Deleted User
    Deleted User

    I was able to recreate on CentOS 5.5 by changing the locale to Russian.

    December 17th, 2010 @ 10:52 AM

  3. Deleted User
    Deleted User
    • Tag set to i18n, locale, utf8

    Checking the log file on disk, the content is correctly formatted.

    httpd остановлен

    Somewhere between the log file and presentation, the encoding is not being honored?

    December 17th, 2010 @ 11:14 AM

  4. Leonid Batizhevsky
    Leonid Batizhevsky

    the encoding is not being honored? Yes, I're right! It's look like output is not in unicode, it's in ANSI (encoding iso 8859-1)

    December 17th, 2010 @ 11:59 AM

  5. Greg Schueler
    Greg Schueler
    • Assigned user set to Greg Schueler

    Ok, I tracked this down. screenshot of fix

    December 20th, 2010 @ 05:51 PM

  6. Deleted User
    Deleted User
    • State changed from new to resolved

    (from [57ab640567570fe360d850ed9e99985dc63da370]) Fix logfile parse code to support the file encoding, but maintain byte-oriented offset counts. update tests. [#126 Bad uniclode support state:resolved] https://github.com/dtolabs/rundeck/commit/57ab640567570fe360d850ed9...

    December 20th, 2010 @ 05:56 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.