Bug #38

avatar

Ruby 1.9 compatiblity and non-ASCII strings in .rb files

Added by Mikhail Yakshin 2839 days ago.

Status:New Start:03/05/2010
Priority:Normal Due date:
Assigned to:avatarMikhail Yakshin % Done:

0%

Category:-
Target version:3.1

Description

All non-ASCII strings (especially Russian localized constants) should be eliminated from .rb files. It's a bad style and it breaks Ruby 1.9 compatibility. Current example:

SyntaxError (/usr/share/inquisitor/web/app/controllers/computers_controller.rb:362: invalid multibyte char (US-ASCII)
/usr/share/inquisitor/web/app/controllers/computers_controller.rb:362: invalid multibyte char (US-ASCII)
/usr/share/inquisitor/web/app/controllers/computers_controller.rb:362: syntax error, unexpected $end, expecting ']'
        @profile = @profiles['Гарантийный талон']

Also available in: Atom PDF