Linux business72.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
LiteSpeed
: 162.0.229.97 | : 3.133.132.25
Cant Read [ /etc/named.conf ]
8.1.30
temmmp
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
opt /
alt /
libicu /
usr /
share /
doc /
alt-libicu-devel /
samples /
case /
[ HOME SHELL ]
Name
Size
Permission
Action
Makefile
649
B
-rw-r--r--
case.cpp
2.8
KB
-rw-r--r--
case.sln
1.17
KB
-rw-r--r--
case.vcxproj
9.27
KB
-rw-r--r--
case.vcxproj.filters
966
B
-rw-r--r--
readme.txt
2.16
KB
-rw-r--r--
ucase.c
3.41
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ucase.c
/* ******************************************************************************* * * © 2016 and later: Unicode, Inc. and others. * License & terms of use: http://www.unicode.org/copyright.html#License * ******************************************************************************* ******************************************************************************* * * Copyright (C) 2003-2004, International Business Machines * Corporation and others. All Rights Reserved. * **** * * Case folding examples, in C * ******************************************************************************* */ #include "unicode/uchar.h" #include "unicode/ustring.h" #include "unicode/utypes.h" #include "unicode/ustdio.h" /* Note: don't use 'k' or 'K' because we might be on EBCDIC */ int c_main(UFILE *out) { UChar32 ch; UErrorCode errorCode = U_ZERO_ERROR; static const UChar upper[] = {0x61, 0x42, 0x49, 0}; /* upper = "aBI" */ static const UChar lower[] = {0x61, 0x42, 0x69, 0}; /* lower = "abi" */ /* unfold = "aB LATIN SMALL LETTER DOTLESS I" */ static const UChar unfold[] = {0x61, 0x42, 0x131, 0} ; UChar buffer[32]; const UChar char_k = 0x006b; /* 'k' */ const UChar char_K = 0x004b; /* 'K' */ int length; printf("** C Case Mapping Sample\n"); /* uchar.h APIs, single character case mapping */ ch = u_toupper(char_k); /* ch = 'K' */ u_fprintf(out, "toupper(%C) = %C\n", char_k, ch); ch = u_tolower(ch); /* ch = 'k' */ u_fprintf(out, "tolower() = %C\n", ch); ch = u_totitle(char_k); /* ch = 'K' */ u_fprintf(out, "totitle(%C) = %C\n", char_k, ch); ch = u_foldCase(char_K, U_FOLD_CASE_DEFAULT); /* ch = 'k' */ u_fprintf(out, "u_foldCase(%C, U_FOLD_CASE_DEFAULT) = %C\n", char_K, (UChar) ch); /* ustring.h APIs, UChar * string case mapping with a Turkish locale */ /* result buffer = "ab?" latin small letter a, latin small letter b, latin small letter dotless i */ length = u_strToLower(buffer, sizeof(buffer)/sizeof(buffer[0]), upper, sizeof(upper)/sizeof(upper[0]), "tr", &errorCode); if(U_FAILURE(errorCode) || buffer[length]!=0) { u_fprintf(out, "error in u_strToLower(Turkish locale)=%ld error=%s\n", length, u_errorName(errorCode)); } u_fprintf(out, "u_strToLower(%S, turkish) -> %S\n", upper, buffer); /* ustring.h APIs, UChar * string case mapping with a English locale */ /* result buffer = "ABI" latin CAPITAL letter A, latin capital letter B, latin capital letter I */ length = u_strToUpper(buffer, sizeof(buffer)/sizeof(buffer[0]), upper, sizeof(upper)/sizeof(upper[0]), "en", &errorCode); if(U_FAILURE(errorCode) || buffer[length]!=0) { u_fprintf(out, "error in u_strToLower(English locale)=%ld error=%s\n", length, u_errorName(errorCode)); } u_fprintf(out, "u_strToUpper(%S, english) -> %S\n", lower, buffer); /* ustring.h APIs, UChar * string case folding */ /* result buffer = "abi" */ length = u_strFoldCase(buffer, sizeof(buffer)/sizeof(buffer[0]), unfold, sizeof(unfold)/sizeof(unfold[0]), U_FOLD_CASE_DEFAULT, &errorCode); if(U_FAILURE(errorCode) || buffer[length]!=0) { u_fprintf(out, "error in u_strFoldCase()=%ld error=%s\n", length, u_errorName(errorCode)); } u_fprintf(out, "u_strFoldCase(%S, U_FOLD_CASE_DEFAULT) -> %S\n", unfold, buffer); u_fprintf(out, "\n** end of C sample\n"); return 0; }
Close