4

, . , .. .

Linux $LANG . , $LANG. - , $LANG .

LC_ALL . locale , .

$LANG= , . .

env, .

env

, . LANG=en_US.UTF-8, . . en_US UTF-8. En_US , .

locale.

locale

. ? -, . yyyy-mm-dd (--: 2006-12-31), dd-mm-yyyy. . - , 1 postgre. . .

, -, , , LC_TIME :

LC_TIME=ru_RU.UTF-8 .

export LC_TIME .

- LC_ALL=ru_RU.UTF-8

export LC_ALL.

( ) , :

sudo apt-get install language-pack-ru

: sudo locale-gen

.

unset LC_ALL. .

. - . , Linux:

  • ASCII 128 ;
  • ISO-8859 ;
  • UTF-8 - Unicode.

iconv, . - , Notepad++. , . . .

Notepad++

, iconv. :

iconv [] [-f  1] [-t  2] [ ] [ ]
iconv

.

tzselect . , , , .

tzselect

date, , , . man date

.

sudo date -s yyyymmdd hh:mm .

date

50% Merion Academy