Skip to content

Commit 29beab3

Browse files
committed
Use locale as used by Ubuntu 24.04
1 parent a478af8 commit 29beab3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

graphannis/src/annis/db/sort_matches.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ mod tests {
255255
use std::time::Duration;
256256

257257
unsafe {
258-
let locale = CString::new("en_US.UTF-8").unwrap_or_default();
258+
let locale = CString::new("en_US.utf8").unwrap_or_default();
259259
libc::setlocale(libc::LC_COLLATE, locale.as_ptr());
260260
std::thread::sleep(Duration::from_millis(500));
261261
}

0 commit comments

Comments
 (0)