Skip to content

Commit

Permalink
code page
Browse files Browse the repository at this point in the history
* Makes the project information's `code_page` field public. This enables clients to perform conversions to Unicode.
  • Loading branch information
tim-weis committed Dec 2, 2024
1 parent e9a7842 commit 442b65c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
8 changes: 2 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
[package]
name = "ovba"
version = "0.4.1"
version = "0.5.0"
authors = ["Tim Weis <[email protected]>"]
description = "An Office VBA project parser written in 100% safe Rust."
edition = "2018"
exclude = [
".gitignore",
"docs/dev/**",
".github/**"
]
exclude = [".gitignore", "docs/dev/**", ".github/**"]
license-file = "LICENSE"
repository = "https://github.com/tim-weis/ovba"
documentation = "https://docs.rs/ovba"
Expand Down
4 changes: 3 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,9 @@ pub struct Information {
pub sys_kind: SysKind,
lcid: u32,
lcid_invoke: u32,
code_page: u16,
/// Specifies the code page for the VBA project.
///
pub code_page: u16,
name: String,
doc_string: String,
help_file_1: String,
Expand Down

0 comments on commit 442b65c

Please sign in to comment.