summaryrefslogtreecommitdiff
path: root/usr/src/cmd/localedef/UTF-8.x
blob: b7ab359bd41d3ca173cf18c9671158c99aa21ed1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").  
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright 1996-1997, 2000-2003 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
# Method file for Solaris Unicode locales.
#
#
#ident	"@(#)UTF-8.x	1.4 03/08/19 SMI"
#

METHODS

#
# Encoding definitions to use UTF-8 (MB) and UTF-32 (WC):
file_code	utf8
process_code	ucs4

#
# We use the following methods from the libc:
iswctype@native	"__iswctype_std"        "libc" "/usr/lib/" "libc.so.1"
towctrans@native "__towctrans_std"
towlower@native	"__towlower_std"
towupper@native "__towupper_std"
trwctype        "__trwctype_std"
wctrans         "__wctrans_std"
wctype          "__wctype_std"

mbsinit		"__mbsinit_gen"
mbrlen		"__mbrlen_gen"
 
strcoll         "__strcoll_std"
strxfrm         "__strxfrm_std"
wcscoll         "__wcscoll_bc"
wcscoll@native  "__wcscoll_std"
wcsxfrm         "__wcsxfrm_bc"
wcsxfrm@native  "__wcsxfrm_std"

fnmatch         "__fnmatch_std"
regcomp         "__regcomp_std"
regexec         "__regexec_std"
regerror        "__regerror_std"
regfree         "__regfree_std"

strfmon         "__strfmon_std"

strftime        "__strftime_std"
strptime        "__strptime_std"
wcsftime        "__wcsftime_std"

getdate         "__getdate_std"

#
# The methods designated at below are all Unicode locale-specific methods
# coming from the methods_unicode.so.3 shared object:
eucpctowc	"__u32_to_dense_u32_utf8"	"localelib" "/usr/lib/locale/common" "methods_unicode.so.3"
wctoeucpc	"__dense_u32_to_u32_utf8"

iswctype        "__iswctype_bc_utf8"
towctrans       "__towctrans_bc_utf8"
towlower        "__towlower_bc_utf8"
towupper        "__towupper_bc_utf8"

mbftowc		"__mbftowc_dense_utf8"
mbftowc@native	"__mbftowc_dense_native_utf8"
fgetwc		"__fgetwc_dense_utf8"
fgetwc@native	"__fgetwc_dense_native_utf8"
mblen		"__mblen_dense_utf8"
mbstowcs	"__mbstowcs_dense_utf8"
mbstowcs@native	"__mbstowcs_dense_native_utf8"
mbtowc		"__mbtowc_dense_utf8"
mbtowc@native	"__mbtowc_dense_native_utf8"
wcstombs	"__wcstombs_dense_utf8"
wcstombs@native	"__wcstombs_dense_native_utf8"
wcswidth	"__wcswidth_dense_utf8"
wcswidth@native	"__wcswidth_dense_utf8"
wctomb		"__wctomb_dense_utf8"
wctomb@native	"__wctomb_dense_native_utf8"
wcwidth		"__wcwidth_dense_utf8"
wcwidth@native	"__wcwidth_dense_utf8"

btowc		"__btowc_dense_utf8"
btowc@native	"__btowc_dense_utf8"
wctob		"__wctob_dense_utf8"
wctob@native	"__wctob_dense_utf8"
mbrtowc		"__mbrtowc_dense_utf8"
mbrtowc@native	"__mbrtowc_dense_native_utf8"
wcrtomb		"__wcrtomb_dense_utf8"
wcrtomb@native	"__wcrtomb_dense_native_utf8"
mbsrtowcs	"__mbsrtowcs_dense_utf8"
mbsrtowcs@native "__mbsrtowcs_dense_native_utf8"
wcsrtombs	"__wcsrtombs_dense_utf8"
wcsrtombs@native "__wcsrtombs_dense_native_utf8"

END METHODS