1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-06 00:55:50 +00:00
OpenMW/components/to_utf8
Douglas Mencken df5919f2c5 Use `signed char' explicitly where needed. It is important because:
- It is implementation-dependent if plain `char' signed or not.
- C standard defines three *distinct* types: char, signed char,
  and unsigned char.
- Assuming that char is always unsigned or signed can lead to
  compile-time and run-time errors.

You can also use int8_t, but then it would be less obvious for developers
to never assume that char is always unsigned (or always signed).

Conflicts:

	components/esm/loadcell.hpp
2013-02-15 20:28:14 +01:00
..
tests to_utf8 test: fix Utf8Encoder constructor 2013-01-06 11:39:18 +01:00
.gitignore
gen_iconv.cpp Update UTF 8 table generator to print char values 2012-08-27 10:55:39 -04:00
Makefile
tables_gen.hpp Use `signed char' explicitly where needed. It is important because: 2013-02-15 20:28:14 +01:00
to_utf8.cpp Use `signed char' explicitly where needed. It is important because: 2013-02-15 20:28:14 +01:00
to_utf8.hpp Use `signed char' explicitly where needed. It is important because: 2013-02-15 20:28:14 +01:00