X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=common%2Futf.h;h=942d431ff8c2f7d39ca967dcbed972c2fedd9ce8;hb=a660f13c38fbd89c3db2169449baa5e2268db815;hp=f60182ab81998dcad13427e5e3b6ba2bbd6058b6;hpb=5e60fa5a9c734ef95e4067c020e3e38acc71b37c;p=casparcg diff --git a/common/utf.h b/common/utf.h index f60182ab8..942d431ff 100644 --- a/common/utf.h +++ b/common/utf.h @@ -1,34 +1,33 @@ -/* -* Copyright (c) 2011 Sveriges Television AB -* -* This file is part of CasparCG (www.casparcg.com). -* -* CasparCG is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation, either version 3 of the License, or -* (at your option) any later version. -* -* CasparCG is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with CasparCG. If not, see . -* -* Author: Robert Nagy, ronag89@gmail.com -*/ - -#pragma once - -#include -#include - -namespace caspar { - -std::wstring u16(const std::string& str); -std::wstring u16(const std::wstring& str); -std::string u8(const std::wstring& str); -std::string u8(const std::string& str); - +/* +* Copyright (c) 2011 Sveriges Television AB +* +* This file is part of CasparCG (www.casparcg.com). +* +* CasparCG is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CasparCG is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with CasparCG. If not, see . +* +* Author: Robert Nagy, ronag89@gmail.com +*/ + +#pragma once + +#include + +namespace caspar { + +std::wstring u16(const std::string& str); +std::wstring u16(const std::wstring& str); +std::string u8(const std::wstring& str); +std::string u8(const std::string& str); + } \ No newline at end of file