Skip to content

Commit 1ce23ab

Browse files
committed
fix: unicode encoding regression
1 parent 39e051b commit 1ce23ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rust/lib_ccxr/src/util/encoding.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@
4141
/// Represents the different kinds of encoding that [`EncodedString`] can take.
4242
#[derive(Default, Copy, Clone, Debug, Eq, PartialEq)]
4343
pub enum Encoding {
44-
Line21, // Same as `CCX_ENC_ASCII` in C
44+
UCS2, // Same as `CCX_ENC_UNICODE` in C
4545
Latin1, // Same as `CCX_ENC_LATIN_1` in C
4646
#[default]
4747
UTF8, // Same as `CCX_ENC_UTF_8` in C
48-
UCS2, // Same as `CCX_ENC_UNICODE` in C
48+
Line21, // Same as `CCX_ENC_ASCII` in C
4949
}
5050

5151
/// Represents a character in Line 21 encoding.

0 commit comments

Comments
 (0)