mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
0a7ff043a2
Partially resolve by making string variables and attributes use UTF-8 encoding. Normalization is not necessarily fixed, however.
25 lines
490 B
Plaintext
25 lines
490 B
Plaintext
netcdf utf8 {
|
|
dimensions:
|
|
xā = 2 ;
|
|
㼿y = 2 ;
|
|
Καλημέρα = 18 ;
|
|
variables:
|
|
int (xā, 㼿y) ;
|
|
char Καλημέρα(Καλημέρα) ;
|
|
Καλημέρα:units = "Καλημέρα" ;
|
|
string s(xā);
|
|
string s:satt = "ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ";
|
|
|
|
// global attributes:
|
|
:Gā = "ā㼿y" ;
|
|
data:
|
|
|
|
=
|
|
1, 2,
|
|
3, 4 ;
|
|
|
|
Καλημέρα = "\316\232\316\261\316\273\316\267\316\274\341\275\263\317\201\316\261" ;
|
|
|
|
s = "キャク", "龥";
|
|
}
|