:
:
 |   

OSzone.net , Windows - CHGSTR.EXE

- CHGSTR.EXE


: 8
: 0

| | PM |


 : txt OnAir .txt
(31 , 22 )
, bat ( txt) (UPPER CASE), xml. RDS- . " " .
, " - ".

:
OnAir.txt: Malika Yes -
OnAir_convert.txt: MALIKA YES - OYNAMAYIN SENIMEN

:
OnAir.txt: Azamat - Araiym
>OnAir_convert.txt:AZAMAT - ARAIYM

bat CHGSTR.EXE, . Win10 Win7
:
@echo off

set file=text.txt

copy %file% %file%.bak

CHGSTR "*" "a" %file%
CHGSTR "" "b" %file%
CHGSTR "" "v" %file%
CHGSTR "" "g" %file%
CHGSTR "" "d" %file%
CHGSTR "" "e" %file%
CHGSTR "" "e" %file%
CHGSTR "" "zh" %file%
CHGSTR "" "z" %file%
CHGSTR "" "i" %file%
CHGSTR "" "io" %file%
CHGSTR "" "k" %file%
CHGSTR "" "l" %file%
CHGSTR "" "m" %file%
CHGSTR "*" "n" %file%
CHGSTR "" "o" %file%
CHGSTR "" "p" %file%
CHGSTR "" "r" %file%
CHGSTR "" "s" %file%
CHGSTR "" "t" %file%
CHGSTR "" "u" %file%
CHGSTR "" "f" %file%
CHGSTR "" "h" %file%
CHGSTR "" "c" %file%
CHGSTR "" "ch" %file%
CHGSTR "" "sh" %file%
CHGSTR "" "sh" %file%
CHGSTR "" "!" %file%
CHGSTR "" "i" %file%
CHGSTR "" "!" %file%
CHGSTR "" "e" %file%
CHGSTR "" "yu" %file%
CHGSTR "" "ya" %file%


CHGSTR "" "A" %file%
CHGSTR "" "B" %file%
CHGSTR "" "V" %file%
CHGSTR "" "G" %file%
CHGSTR "" "D" %file%
CHGSTR "" "E" %file%
CHGSTR "" "E" %file%
CHGSTR "" "ZH" %file%
CHGSTR "" "Z" %file%
CHGSTR "" "I" %file%
CHGSTR "" "IO" %file%
CHGSTR "" "K" %file%
CHGSTR "" "L" %file%
CHGSTR "" "M" %file%
CHGSTR "" "N" %file%
CHGSTR "" "O" %file%
CHGSTR "" "P" %file%
CHGSTR "" "R" %file%
CHGSTR "" "S" %file%
CHGSTR "" "T" %file%
CHGSTR "" "U" %file%
CHGSTR "" "F" %file%
CHGSTR "" "H" %file%
CHGSTR "" "C" %file%
CHGSTR "" "CH" %file%
CHGSTR "" "SH" %file%
CHGSTR "" "SH" %file%
CHGSTR "" "!" %file%
CHGSTR "" "I" %file%
CHGSTR "" "!" %file%
CHGSTR "" "E" %file%
CHGSTR "" "YU" %file%
CHGSTR "" "YA" %file%

: 16:05, 28-12-2018

 


: 27449
: 8088

| PM |


kdolzhanskiy@vk, xml , , - UTF-8, ?

xml , , , .

: 17:47, 28-12-2018 | #2



.

, .


  YuS_2

Crazy


Contributor


: 1235
: 518

| PM |


kdolzhanskiy@vk:
Win10 Win7
powershell:
:
function global:translit {
	process {
		$charr = @{
			[char]'' = "A"
			[char]'' = "a"
			[char]'' = "B"
			[char]'' = "b"
			[char]'' = "V"
			[char]'' = "v"
			[char]'' = "G"
			[char]'' = "g"
			[char]'' = "D"
			[char]'' = "d"
			[char]'' = "E"
			[char]'' = "e"
			[char]'' = "E"
			[char]'' = "e"
			[char]'' = "ZH"
			[char]'' = "zh"
			[char]'' = "Z"
			[char]'' = "z"
			[char]'' = "I"
			[char]'' = "i"
			[char]'' = "I"
			[char]'' = "i"
			[char]'' = "K"
			[char]'' = "k"
			[char]'' = "L"
			[char]'' = "l"
			[char]'' = "M"
			[char]'' = "m"
			[char]'' = "N"
			[char]'' = "n"
			[char]'' = "O"
			[char]'' = "o"
			[char]'' = "P"
			[char]'' = "p"
			[char]'' = "R"
			[char]'' = "r"
			[char]'' = "S"
			[char]'' = "s"
			[char]'' = "T"
			[char]'' = "t"
			[char]'' = "U"
			[char]'' = "u"
			[char]'' = "F"
			[char]'' = "f"
			[char]'' = "KH"
			[char]'' = "kh"
			[char]'' = "TC"
			[char]'' = "tc"
			[char]'' = "CH"
			[char]'' = "ch"
			[char]'' = "SH"
			[char]'' = "sh"
			[char]'' = "SHCH"
			[char]'' = "shch"
			[char]'' = ""
			[char]'' = ""
			[char]'' = "Y"
			[char]'' = "y"
			[char]'' = ""
			[char]'' = ""
			[char]'' = "E"
			[char]'' = "e"
			[char]'' = "YU"
			[char]'' = "yu"
			[char]'' = "YA"
			[char]'' = "ya"
		}
		$_.tochararray()|%{
			if ($charr[$_] -cne $null){
				$arr += $charr[$_]
			} else {
				$arr += $_
			}
		}
		write-output $arr
	}
}
- . , , .

( ):
:
(gc onair.txt -enc utf8 -raw|translit).toupper()|out-file onair_convert.txt -enc utf8
, ...
:
@echo off
powershell -ex bypass -c "&{(gc onair.txt -enc utf8 -raw|translit).toupper()|out-file onair_convert.txt -enc utf8}"
pause&exit /b
, - powershell 5.1

-------
scio me nihil scire. Ѫ


: 17:52, 28-12-2018 | #3



: 8
: 0

| | PM |


Iska:
xml , , , .
xml - . . ,

: 07:01, 29-12-2018 | #4



: 8
: 0

| | PM |


YuS_2:
powershell:
. .
:
PS C:\WINDOWS\system32> F:\auto\translit.ps1
F:\auto\translit.ps1:7 :11
+             [char]'=' = "b"
+                    ~
  ''=''    -.
F:\auto\translit.ps1:71 :19
+         $_.tochararray()|%{
+                         ~
  ''=''    -.
F:\auto\translit.ps1:2 :10
+     process {
+             ~
   "}"      .
F:\auto\translit.ps1:1 :26
+ function global:translit {
+                          ~
   "}"      .
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : MissingEqualsInHashLiteral

: 07:49, 29-12-2018 | #5



: 27449
: 8088

| PM |


kdolzhanskiy@vk, . UTF-8 BOM ( UTF-16LE/1200 BOM ANSI/1251).

P.S. -enc utf8 YuS_2 (ANSI/1251) -Encoding default.

: 08:01, 29-12-2018 | #6


  YuS_2

Crazy


Contributor


: 1235
: 518

| PM |


Iska:
P.S. -enc utf8 YuS_2 (ANSI/1251) -Encoding default.
, , ...

-------
scio me nihil scire. Ѫ


: 10:13, 29-12-2018 | #7



: 27449
: 8088

| PM |


YuS_2, txt- , ANSI/1251. xml, , - UTF-8.
:

: 16:22, 29-12-2018 | #8


  YuS_2

Crazy


Contributor


: 1235
: 518

| PM |


Iska:
txt-
, ... xml . , default !

-------
scio me nihil scire. Ѫ


: 19:05, 29-12-2018 | #9



: 3806
: 824

| PM |


kdolzhanskiy@vk, . - , , .

YuS_2, begin
?
:

: 13:07, 30-12-2018 | #10



OSzone.net , Windows - CHGSTR.EXE


[] Kursor_kvk 3 01-02-2012 11:20
- ++, Java, C#. D.Y. 15 14-05-2010 13:16
[] Regedit.exe | NTSD.exe | NETSETUP.exe | TELNET.exe Ricardo WinStyle 11 30-07-2009 23:36
ntkrnlmp.exe ntkrnlpa.exe ntkrpamp.exe ntoskrnl.exe krazy Windows 2000/XP/2003 4 20-11-2008 15:20
[] JS. . VeshchiyOleg 1 27-01-2007 21:00


« | »