-1

I am translating stuff from an application to Romanian (already did German), and I need hex escape codes for ă â ș ț î.

Like the German "ü" is \x81, are there hex escape codes for those Romanian characters?

I couldn't find any after 30 minutes of research.

chux - Reinstate Monica
  • 143,097
  • 13
  • 135
  • 256
Kerb Space
  • 11
  • 2
  • 1
    Those code-page dependent characters are old style. Try to use the [unicode characters](https://www.fileformat.info/info/charset/UTF-8/list.htm). – Weather Vane Aug 28 '22 at 18:38
  • 2
    The values depend on the encoding you use. Which encoding do you use? – the busybee Aug 28 '22 at 19:03
  • 30 minutes of research on such a complex topic sounds not enough. ;-) You could at least write a simple experimental program to try _all possible values_ to see if any of them renders characters you want. – the busybee Aug 28 '22 at 19:05

2 Answers2

0

Code page 850 has "ü" as \x81. That code page does not support ă ș ț î.

Instead use a more modern and comprehensive encoding like Unicode. See also Romanian_alphabet.

ISO/IEC 8859 might work for OP, yet that is not the best way going forward.

chux - Reinstate Monica
  • 143,097
  • 13
  • 135
  • 256
0

You're probably best off using unicode escapes

\u00fc for "ü"

\u0103 for "ă"

\u00e2 for "â"

\u00ee for "î"

\u0163 for "ţ"

Chris Dodd
  • 119,907
  • 13
  • 134
  • 226