def upperfix(string)
string.to_s.chars.map do |char|
case char
when 'α' then 'Α'
when 'β' then 'Β'
when 'γ' then 'Γ'
when 'δ' then 'Δ'
when 'ε' then 'Ε'
when 'ζ' then 'Ζ'
when 'η' then 'Η'
when 'θ' then 'Θ'
when 'ι' then 'Ι'
when 'κ' then 'Κ'
when 'λ' then 'Λ'
when 'μ' then 'Μ'
when 'ν' then 'Ν'
when 'ξ' then 'Ξ'
when 'ο' then 'Ο'
when 'π' then 'Π'
when 'ρ' then 'Ρ'
when 'σ' then 'Σ'
when 'ς' then 'Σ'
when 'τ' then 'Τ'
when 'υ' then 'Υ'
when 'φ' then 'Φ'
when 'χ' then 'Χ'
when 'ψ' then 'Ψ'
when 'ω' then 'Ω'
when 'ά' then 'Α'
when 'έ' then 'Ε'
when 'ή'
string.to_s.size > 1 ? 'H' : 'Ή'
when 'ί' then 'Ι'
when 'ό' then 'Ο'
when 'ύ' then 'Υ'
when 'ώ' then 'Ω'
when 'Ά' then 'Α'
when 'Έ' then 'Ε'
when 'Ή' then 'Η'
when 'Ί' then 'Ι'
when 'Ό' then 'Ο'
when 'Ύ' then 'Υ'
when 'Ώ' then 'Ω'
when 'ϊ' then 'Ϊ'
when 'ϋ' then 'Ϋ'
when 'ΐ' then 'Ϊ'
when 'ΰ' then 'Ϋ'
else char.upcase
end
end.join
end