Raised This Month: $ Target: $400
 0% 

[batch] Compress Russian strings (transliteration)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 02-18-2020 , 04:09   [batch] Compress Russian strings (transliteration)
Reply With Quote #1

Purpose:
Decrease number of bytes of the Russian string by replacing Russian letters by English analogue.

Usefull, e.g. in nicknames or some rare translation phrases cases where buffer size is limited like menus/panels.

Some tip: RU letter is 2 byte, EN - 1 byte.
Script:
Spoiler


Using:
1. Save your string in file "newnames.ini"

2. Unpack:
- ren_script_ANSI.cmd
or
- ren_script_UTF8.cmd

from archive (depending on what txt file codepage you have UTF8 or ANSI)*
- Windows by default create text files in ANSI.
- .phrases.txt is UTF8.

3. Place ren_script_*.cmd next to your text file.

4. Run it (double click).
Attached Files
File Type: zip ren_script.zip (925 Bytes, 110 views)
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:56.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode