123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
|
_territory = [[OFString alloc]
initWithCString: tmp
encoding: OF_STRING_ENCODING_ASCII
length: tmpLen];
}
tmpLen = strlen(tmp);
for (size_t i = 0; i < tmpLen; i++)
tmp[i] = of_ascii_tolower(tmp[i]);
_language = [[OFString alloc]
initWithCString: locale
encoding: OF_STRING_ENCODING_ASCII
length: tmpLen];
_decimalPoint = [[OFString alloc]
|
|
|
|
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
|
_territory = [[OFString alloc]
initWithCString: tmp
encoding: OF_STRING_ENCODING_ASCII
length: tmpLen];
}
tmpLen = strlen(locale);
for (size_t i = 0; i < tmpLen; i++)
locale[i] = of_ascii_tolower(locale[i]);
_language = [[OFString alloc]
initWithCString: locale
encoding: OF_STRING_ENCODING_ASCII
length: tmpLen];
_decimalPoint = [[OFString alloc]
|