Community discussions

MikroTik App
 
User avatar
rextended
Forum Guru
Forum Guru
Topic Author
Posts: 12693
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Who have as native the Cyrillic alphabet, please help here...

Sun Jul 16, 2023 1:05 am

I'm trying to make a function that transliterates Cyrillic into Latin text, so that I can use it when unfortunately is not possible use UTF-8, UCS-2 or CP1251.

So, please, who knows Cyrillic as native language, can help me in the conversion?

Thank you.

The Cyrillic characters to convert are only what are present on CP1251:

Cyrillic CP1251 code

Ђ 	Ѓ 	  	ѓ 	  	  	  	  	  	  	Љ 	  	Њ 	Ќ 	Ћ 	Џ
ђ 	  	  	  	  	  	  	  	  	  	љ 	  	њ 	ќ 	ћ 	џ
  	Ў 	ў 	Ј 	  	Ґ 	   	  	Ё 	  	Є 	  	  	  	  	Ї
  	  	І 	і 	ґ 	  	  	  	ё 	  	є 	  	ј 	Ѕ 	ѕ 	ї
А 	Б 	В 	Г 	Д 	Е 	Ж 	З 	И 	Й 	К 	Л 	М 	Н 	О 	П
Р 	С 	Т 	У 	Ф 	Х 	Ц 	Ч 	Ш 	Щ 	Ъ 	Ы 	Ь 	Э 	Ю 	Я
а 	б 	в 	г 	д 	е 	ж 	з 	и 	й 	к 	л 	м 	н 	о 	п
р 	с 	т 	у 	ф 	х 	ц 	ч 	ш 	щ 	ъ 	ы 	ь 	э 	ю 	я

The available characters for conversion are only what is present on ASCII-7bit

ASCII-7bit code

 	 	"	 	 	 	 	'	 	 	 	 	 	 	 	 
 	A	B	C	D	E	F	G	H	I	J	K	L	M	N	O
P	Q	R	S	T	U	V	W	X	Y	Z	 	 	 	^	 
`	a	b	c	d	e	f	g	h	i	j	k	l	m	n	o
p	q	r	s	t	u	v	w	x	y	z	 	 	 	~	 

I apologize in advance for any mistakes, I don't know Cyrillic.
Thanks for understanding.

What I have done till now:

conversion code

АБВГДЕ Ж  ЗИЙКЛМНОПРСТУФХ Ц  Ч  Ш  Щ   Ъ Ы  Ь Э  Ю  Я  абвгде ж  зийклмнопрстуфх ц  ч  ш  щ   ъ ы  ь э  ю  я
ABVGDE ZH ZIJKLMNOPRSTUFX CZ CH SH SHH " Y' ' E' YU YA abvgde zh zijklmnoprstufx cz ch sh shh " y' ' e' yu ya

Ґ Ѓ  Ђ  Ё  Є  Ѕ  І Ї  Ј Љ  Њ  Ќ  Ћ  Ў Џ  ґ ѓ  ђ  ё  є  ѕ  і ї  ј љ  њ  ќ  ћ  ў џ
G GJ DJ YO YE DZ I YI J LJ NJ KJ CJ W DJ g gj dj yo ye dz i yi j lj nj kj cj w dj
Last edited by rextended on Mon Jul 17, 2023 5:48 pm, edited 3 times in total.
 
drpioneer
just joined
Posts: 10
Joined: Mon Nov 01, 2021 8:33 am

Re: Who have as native the Cyrillic alphabet, please help here...

Sun Jul 16, 2023 10:07 am

Hello.
What help is needed?
 
User avatar
rextended
Forum Guru
Forum Guru
Topic Author
Posts: 12693
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Who have as native the Cyrillic alphabet, please help here...

Sun Jul 16, 2023 2:05 pm

Hello.
What help is needed?
Please,
I made a "conversion code" from the Cyrillic characters (those present only on CP1251) to the Latin characters (those present only on CP1252), inspired by ISO-9
but ISO-9 uses some characters that are not available on CP1252.
So I'm interested to know if the correspondence between the single Cyrillic letter above is correct with the transliteration below,
and how to improve it, but using only the Latin characters (those present only on CP1252) listed on the first post.

For example, reading the "conversion code" on firs post:
Ж = ZH
Ц = CZ
Щ = SHH
Ћ = CJ
and so on....

Thanks for the time...
Last edited by rextended on Mon Jul 17, 2023 5:36 pm, edited 2 times in total.
 
User avatar
Ca6ko
Long time Member
Long time Member
Posts: 529
Joined: Wed May 04, 2022 10:59 pm
Location: Kharkiv, Ukraine

Re: Who have as native the Cyrillic alphabet, please help here...

Sun Jul 16, 2023 9:49 pm

I can help, but I didn't realize what was needed.
There is such a table of translation of Ukrainian alphabet by Latin alphabet.
Screenshot_12.jpg
CP1251
It, except russian, also contains all symbols for other Slavic languages: Ukrainian, Belarusian, Serbian, Macedonian and Bulgarian.
I can help only Ukrainian, Belarusian, russian
There are more than 5 translation options. I suggest to use GOST 7.79-2000 which is a progressionof ISO-9-95.

Ё -YO russian
Ъ - ``
Ы -Y`
Э-E`

Ў -U Belarusian
You do not have the required permissions to view the files attached to this post.
 
User avatar
rextended
Forum Guru
Forum Guru
Topic Author
Posts: 12693
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Who have as native the Cyrillic alphabet, please help here...

Mon Jul 17, 2023 10:29 am

Very thanks, the goal is: When is impossible to use CP1251 or UTF-8 or UCS-2 (etc.)
convert what is wroted with CP1251 to ASCII-7bit.

https://en.wikipedia.org/wiki/GOST_7.79-2000
Apparently the suggestion you gave me can solve the problem.
I will write here on the forum.
Thanks again.
 
User avatar
rextended
Forum Guru
Forum Guru
Topic Author
Posts: 12693
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Who have as native the Cyrillic alphabet, please help here...

Mon Jul 17, 2023 5:49 pm

(bump)

Please someone...
 
User avatar
memelchenkov
Member Candidate
Member Candidate
Posts: 204
Joined: Sun Oct 11, 2020 12:00 pm
Contact:

Re: Who have as native the Cyrillic alphabet, please help here...

Mon Jul 17, 2023 7:46 pm

Cyrillic is not a language, its an alphabet shared across multiple languages. I.e. https://en.wikipedia.org/wiki/Romanization_of_Russian and follow "See also" chapter for other languages.
 
User avatar
rextended
Forum Guru
Forum Guru
Topic Author
Posts: 12693
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Who have as native the Cyrillic alphabet, please help here...

Mon Jul 17, 2023 8:19 pm

Cyrillic is not a language, its an alphabet shared across multiple languages
And those languages use that alphabet.

I don't understand the clarification, it was more than obvious...
 
User avatar
memelchenkov
Member Candidate
Member Candidate
Posts: 204
Joined: Sun Oct 11, 2020 12:00 pm
Contact:

Re: Who have as native the Cyrillic alphabet, please help here...

Mon Jul 17, 2023 8:23 pm

Cyrillic is not a language, its an alphabet shared across multiple languages
And those languages use that alphabet.

I don't understand the clarification, it was more than obvious...
Your words… "who knows Cyrillic as native language". Was my reply helpful? Or this message is the only you would like to say?
 
User avatar
rextended
Forum Guru
Forum Guru
Topic Author
Posts: 12693
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Who have as native the Cyrillic alphabet, please help here...

Mon Jul 17, 2023 9:25 pm

I appreciate the answer, I was dubious just for that specification I cite...
The link IS helpful.
My intention, of course, is not to offend anyone if there is some mistake…
 
User avatar
memelchenkov
Member Candidate
Member Candidate
Posts: 204
Joined: Sun Oct 11, 2020 12:00 pm
Contact:

Re: Who have as native the Cyrillic alphabet, please help here...

Mon Jul 17, 2023 9:38 pm

I appreciate the answer, I was dubious just for that specification I cite...
The link IS helpful.
My intention, of course, is not to offend anyone if there is some mistake…
If you have any questions about things related to Cyrillic encodings feel free to ask (probably better in messages or email because I visit forum not so often). I use them since CP866.