grblHAL core  20260206
utf8.h
Go to the documentation of this file.
1 /*
2  utf8.c - An embedded CNC Controller with rs274/ngc (g-code) support
3 
4  Part of grblHAL
5 
6  Copyright (c) 2025 Terje Io
7 
8  utf32_to_utf8() is Copyright 2025 Kang-Che Sung, see license in utf8.c.
9 
10  grblHAL is free software: you can redistribute it and/or modify
11  it under the terms of the GNU General Public License as published by
12  the Free Software Foundation, either version 3 of the License, or
13  (at your option) any later version.
14 
15  grblHAL is distributed in the hope that it will be useful,
16  but WITHOUT ANY WARRANTY; without even the implied warranty of
17  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  GNU General Public License for more details.
19 
20  You should have received a copy of the GNU General Public License
21  along with grblHAL. If not, see <http://www.gnu.org/licenses/>.
22 */
23 
24 uint16_t utf32_to_utf8 (uint8_t *buffer, uint32_t code_point);
uint16_t utf32_to_utf8(uint8_t *buffer, uint32_t code_point)
Definition: utf8.c:116