-module(unicode_helpers).

-export([normalize_unicode/1]).

% Convert strange unicode character like e' to é
normalize_unicode(Input) -> unicode:characters_to_list(binary:list_to_bin(Input), unicode).

%%
%%  U.C.Engine - Unified Colloboration Engine
%%  Copyright (C) 2011 af83
%%
%%  This program is free software: you can redistribute it and/or modify
%%  it under the terms of the GNU Affero General Public License as published by
%%  the Free Software Foundation, either version 3 of the License, or
%%  (at your option) any later version.
%%
%%  This program 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 Affero General Public License for more details.
%%
%%  You should have received a copy of the GNU Affero General Public License
%%  along with this program.  If not, see <http://www.gnu.org/licenses/>.
%%
-module(unicode_helpers).

-export([normalize_unicode/1]).

% Convert strange unicode character like e' to é
normalize_unicode(Input) -> unicode:characters_to_list(binary:list_to_bin(Input), unicode).

Add boilerplate on top of the file.
Add boilerplate on top of the file.

Signed-off-by: François de Metz <5187da0b934cc25eb2201a3ec9206c24b13cb23b@2metz.fr>
