ohos_libunistring:基于 OpenHarmony 生态的 Unicode 字符串处理 C 库项目

用户可用于在 OpenHarmony PC 开发中处理 Unicode 字符串。该项目是适配 OpenHarmony 的 C 库,提供字符编码转换、规范化等功能,支持通过 lycium++ 脚手架构建,输出头文件与库文件。【此简介由AI生成】

Branch2Tags0

ohos_libunistring

源码路径

介绍

ohos提供的用于处理Unicode字符串的C库。

适配版本

源码版本 适配分支 适配情况
1.4.1 ohos_1.4.1 YES

构建方式

获取lycium++(lycium_plusplus)构建脚手架工程,按照工程设置构建环境配置,然后执行如下

cd lycium
./build.sh ohos_libunistring

构建产物

构建产物目录如下

.
├── LICENSE
├── README.md
├── community
├── lycium
│   ├── Buildtools
│   ├── CItools
│   ├── README.md
│   ├── build.sh
│   ├── community
│   ├── doc
│   ├── docker
│   ├── lycium_build_intl.log
│   ├── output
│   │   └── arm64-v8a
│   │       ├── libunistring.hnp    # hnp产物
│   │       └── libunistring_1.4.1.tar.gz    # 二进制归档包
│   ├── script
│   ├── template
│   ├── test.sh
│   └── usr
│       ├── hpk_build.csv
│       └── libunistring    # 二进制安装目录
│           └── arm64-v8a    # 指定arch二进制安装目录
│               ├── hnp.json
│               ├── include    # 头文件目录
│               │   ├── unicase.h
│               │   ├── uniconv.h
│               │   ├── unictype.h
│               │   ├── unigbrk.h
│               │   ├── unilbrk.h
│               │   ├── unimetadata.h
│               │   ├── uniname.h
│               │   ├── uninorm.h
│               │   ├── unistdio.h
│               │   ├── unistr.h
│               │   ├── unistring
│               │   │   ├── cdefs.h
│               │   │   ├── iconveh.h
│               │   │   ├── inline.h
│               │   │   ├── localcharset.h
│               │   │   ├── stdint.h
│               │   │   ├── version.h
│               │   │   └── woe32dll.h
│               │   ├── unitypes.h
│               │   ├── uniwbrk.h
│               │   └── uniwidth.h
│               ├── lib         # 库目录
│                   ├── libunistring.a
│                   └── libunistring.la
├── openharmony_tpc_c_cplusplus_LICENSE
├── outerrepo
└── thirdparty

Introduction

用户可用于在 OpenHarmony PC 开发中处理 Unicode 字符串。该项目是适配 OpenHarmony 的 C 库,提供字符编码转换、规范化等功能,支持通过 lycium++ 脚手架构建,输出头文件与库文件。【此简介由AI生成】

Customize your domain