1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:57:35 +00:00

AK+LibUnicode: Add Unicode::create_unicode_url

This is a workaround for the fact that AK::URLParser can't call into
LibUnicode directly.
This commit is contained in:
Simon Wanner 2023-06-16 00:43:22 +02:00 committed by Tim Flynn
parent 5bcb019106
commit 58f08107b0
4 changed files with 76 additions and 1 deletions

View file

@ -0,0 +1,16 @@
/*
* Copyright (c) 2023, Simon Wanner <simon@skyrising.xyz>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/String.h>
#include <AK/URL.h>
namespace Unicode {
ErrorOr<URL> create_unicode_url(String const&);
}