popov654/string-encoder
最新稳定版本:1.0.2
Composer 安装命令:
composer require popov654/string-encoder
包简介
Facilitating the process of altering string encoding in PHP.
关键字:
README 文档
README
Version 1.0.1
String Encode is a simple PHP wrapper package to facilitate the encoding of strings in different charsets.
Install
This package can be found on packagist and is best loaded using composer. It does require php 7.1 or higher, so keep that in consideration.
Usage
This is a really simple package so there is not much to say about it. The following is just about the only usage for this package at the moment.
use stringEncode\Encode; $str = "Calendrier de l'avent façon Necta!" $encode = new Encode; $encode->detect($str); $newstr = $encode->convert($str); echo $newstr; // "Calendrier de l'avent façon Necta!" in UTF-8 encoding (default)
As you can see, it is a very simple encoding converter.
统计信息
- 总下载量: 19
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-07-22