赞
踩
//将二进制字符串转化为中文
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
//https://zhidao.baidu.com/question/417113915.html
public class BinaryToString {
//中文转二进制在线工具 http://www.5ixuexiwang.com/str/binary.php
// 待处理的字符串
public static final String SOURCE = "101111001110100101001101001110100100000001110111111111000011001001011101010010110011000100101100101101011111010011010011110111111111100001100101100100101001110110110101111100111101010101101100100000100110011000101111101111101010010100011011110111111000000000010";
public static void main(String[] args) {
// 定义正则表达式
// 匹配所有由1或0组成的8位字符
Pattern p = Pattern.compile("[10]{8}&#
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。