kernel: Move convertutf to utils.

No functional change.
This commit is contained in:
Augustin Cavalier
2025-03-12 08:26:19 -04:00
parent a97c4affc9
commit 70c25855f4
6 changed files with 4 additions and 4 deletions
+25
View File
@@ -0,0 +1,25 @@
/*
* Copyright 2014 Jonathan Schleifer <[email protected]>
* Copyright 2014 Haiku, Inc. All rights reserved.
*
* Distributed under the terms of the MIT License.
*
* Authors:
* Jonathan Schleifer, [email protected]
* John Scipione, [email protected]
*/
#ifndef CONVERT_UTF_H
#define CONVERT_UTF_H
#include <SupportDefs.h>
ssize_t utf16le_to_utf8(const uint16* source, size_t sourceCodeUnitCount,
char* target, size_t targetLength);
ssize_t utf16be_to_utf8(const uint16* source, size_t sourceCodeUnitCount,
char* target, size_t targetLength);
#endif // CONVERT_UTF_H