utf8-norm.c (a8384c68797ee022f5fd7bcef5f4cc57863d4042) | utf8-norm.c (9d53690f0d4e5686e80f034ea584b7a822b356d3) |
---|---|
1/* 2 * Copyright (c) 2014 SGI. 3 * All rights reserved. 4 * 5 * This program is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU General Public License as 7 * published by the Free Software Foundation. 8 * --- 24 unchanged lines hidden (view full) --- 33 if (sb_utf8version == utf8agetab[i]) 34 return 1; 35 i--; 36 } 37 return 0; 38} 39EXPORT_SYMBOL(utf8version_is_supported); 40 | 1/* 2 * Copyright (c) 2014 SGI. 3 * All rights reserved. 4 * 5 * This program is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU General Public License as 7 * published by the Free Software Foundation. 8 * --- 24 unchanged lines hidden (view full) --- 33 if (sb_utf8version == utf8agetab[i]) 34 return 1; 35 i--; 36 } 37 return 0; 38} 39EXPORT_SYMBOL(utf8version_is_supported); 40 |
41int utf8version_latest(void) 42{ 43 return utf8vers; 44} 45EXPORT_SYMBOL(utf8version_latest); 46 |
|
41/* 42 * UTF-8 valid ranges. 43 * 44 * The UTF-8 encoding spreads the bits of a 32bit word over several 45 * bytes. This table gives the ranges that can be held and how they'd 46 * be represented. 47 * 48 * 0x00000000 0x0000007F: 0xxxxxxx --- 745 unchanged lines hidden --- | 47/* 48 * UTF-8 valid ranges. 49 * 50 * The UTF-8 encoding spreads the bits of a 32bit word over several 51 * bytes. This table gives the ranges that can be held and how they'd 52 * be represented. 53 * 54 * 0x00000000 0x0000007F: 0xxxxxxx --- 745 unchanged lines hidden --- |