Page 1 of 1

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

Posted: Sun Jul 16, 2023 1:05 am
by rextended
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

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

Posted: Sun Jul 16, 2023 10:07 am
by drpioneer
Hello.
What help is needed?

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

Posted: Sun Jul 16, 2023 2:05 pm
by rextended
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...

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

Posted: Sun Jul 16, 2023 9:49 pm
by Ca6ko
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

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

Posted: Mon Jul 17, 2023 10:29 am
by rextended
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.

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

Posted: Mon Jul 17, 2023 5:49 pm
by rextended
(bump)

Please someone...

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

Posted: Mon Jul 17, 2023 7:46 pm
by memelchenkov
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.

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

Posted: Mon Jul 17, 2023 8:19 pm
by rextended
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...

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

Posted: Mon Jul 17, 2023 8:23 pm
by memelchenkov
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?

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

Posted: Mon Jul 17, 2023 9:25 pm
by rextended
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…

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

Posted: Mon Jul 17, 2023 9:38 pm
by memelchenkov
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.