From: alex_oscol@... (Alexander Danilov) Date: 2002-02-11T00:48:44+09:00 Subject: Re: locale "Vitaliy T Morarian" wrote in message news:<003f01c1b17a$372ff1e0$0c01a8c0@itgrp.net>... > Hi all! > > How to change locale in ruby? I want to use national representation of day, > week, etc in strftime. > In example: > print Time.now.strftime("Today: %A, %d %B %Y") > > With best regards, > Vitaliy T Morarian [team Enticla] As I understand at the current moment of development of Ruby you must load module 'locale' (look at RAA) #!/usr/local/bin/ruby -rlocale Locale.set(LC::ALL,"ru_RU.KOI8-R") but it does not help you with "russian for example text".split(//) but may be help with Time.now (I don't remember)