mirror of
https://gitlab.com/bztsrc/posix-uefi.git
synced 2024-12-28 06:55:08 +01:00
Added UTF-8 support
This commit is contained in:
parent
45a5fce4fc
commit
224a9ca6eb
1 changed files with 2 additions and 10 deletions
12
README.md
12
README.md
|
@ -62,16 +62,8 @@ By default it uses Clang + lld, and PE is generated without conversion. If `USE_
|
|||
used to create a shared object and get converted into an .efi file.
|
||||
|
||||
If you comment out `USE_UTF8` in uefi.h, then all character representation will use `wchar_t`, and there will be no string
|
||||
conversion between your application and the UEFI interfaces. This also means you must use `L""` and `L''` literals everywhere:
|
||||
```c
|
||||
#include <uefi.h>
|
||||
|
||||
int main(int argc, wchar_t **argv)
|
||||
{
|
||||
printf(L"Hello World!\n");
|
||||
return 0;
|
||||
}
|
||||
```
|
||||
conversion between your application and the UEFI interfaces. This also means you must use `L""` and `L''` literals everywhere,
|
||||
and you main would receive `wchar_t **argv`.
|
||||
|
||||
### Available Makefile Options
|
||||
|
||||
|
|
Loading…
Reference in a new issue