找回密码
 立即注册
搜索
查看: 1369|回复: 4

[软件] 一个base64解码和编码的问题

[复制链接]
     
发表于 2020-3-17 20:47 | 显示全部楼层 |阅读模式
本帖最后由 hein 于 2020-3-17 21:24 编辑

adobe导出xml中文本图形的文本属性会编码为一个base64
下面第一段用网上的解码、编码都不能相互还原,感觉解码不对,解码头上会有几个乱码
第二段含有中文("mText":""里面的字符应该是“啊啊啊   啊啊啊”),更不对了,不知道有没有正确的编解码程序

  1. FAgAAAAAAAB7ACIAbQBUAGUAeAB0AFAAYQByAGEAbQAiADoAewAiAG0AQQBsAGkAZwBuAG0AZQBuAHQAIgA6ADIALAAiAG0ARABlAGYAYQB1AGwAdABSAHUAbgAiADoAWwBdACwAIgBtAEgAZQBpAGcAaAB0ACIAOgAwACwAIgBtAEgAaQBuAGQAaQBEAGkAZwBpAHQAcwAiADoAZgBhAGwAcwBlACwAIgBtAEkAbgBkAGkAYwAiADoAZgBhAGwAcwBlACwAIgBtAEkAcwBWAGUAcgB0AGkAYwBhAGwAVABlAHgAdAAiADoAZgBhAGwAcwBlACwAIgBtAEwAZQBhAGQAaQBuAGcAIgA6ADAALAAiAG0ATABpAGcAYQB0AHUAcgBlAHMAIgA6AGYAYQBsAHMAZQAsACIAbQBSAFQATAAiADoAZgBhAGwAcwBlACwAIgBtAFMAaABhAGQAbwB3AEEAbgBnAGwAZQAiADoAMQAzADUALAAiAG0AUwBoAGEAZABvAHcAQgBsAHUAcgAiADoANAAwACwAIgBtAFMAaABhAGQAbwB3AEMAbwBsAG8AcgAiADoANAAxADQANAA5ADUAOQAsACIAbQBTAGgAYQBkAG8AdwBPAGYAZgBzAGUAdAAiADoANwAsACIAbQBTAGgAYQBkAG8AdwBPAHAAYQBjAGkAdAB5ACIAOgA3ADUALAAiAG0AUwBoAGEAZABvAHcAUwBpAHoAZQAiADoAMAAsACIAbQBTAGgAYQBkAG8AdwBWAGkAcwBpAGIAbABlACIAOgBmAGEAbABzAGUALAAiAG0AUwB0AHkAbABlAFM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HUAZQBzACIAOgBbAFsAMAAsADUAXQBdAH0ALAAiAG0AVABlAHgAdAAiADoAIgBKVUpVSlUgACAAIABKVUpVSlUiACwAIgBtAFQAcgBhAGMAawBpAG4AZwAiADoAewAiAG0AUABhAHIAYQBtAFYAYQBsAHUAZQBzACIAOgBbAFsAMAAsADAAXQBdAH0ALAAiAG0AVABzAHUAbQBpACIAOgB7ACIAbQBQAGEAcgBhAG0AVgBhAGwAdQBlAHMAIgA6AFsAWwAwACwAMABdAF0AfQB9ACwAIgBtAFQAYQBiAFcAaQBkAHQAaAAiADoANAAwADAALAAiAG0AVwBpAGQAdABoACIAOgAwAH0ALAAiAG0AVgBlAHIAcwBpAG8AbgAiADoAMQB9AA==
复制代码


问题参考网页:https://community.adobe.com/t5/p ... td-p/9477477?page=1
回复

使用道具 举报

     
发表于 2020-3-17 21:31 | 显示全部楼层
本帖最后由 mayourt 于 2020-3-17 21:43 编辑

windows下面用Unicode编的码,"啊"是 \u554a,用 https://the-x.cn/base64 转纯16进制,可以找到 55 4a,就是那个变成JUJU的
补充 https://www.base64decode.org/ 选 UCS2-LE

回复

使用道具 举报

     
 楼主| 发表于 2020-3-17 22:04 | 显示全部楼层
mayourt 发表于 2020-3-17 21:31
windows下面用Unicode编的码,"啊"是 %u554a,用 https://the-x.cn/base64 转纯16进制,可以找到 55 4a,就 ...

感谢,中文懂了,不过不管中英文解码出来开头都有个“ࠒ”
然后在网页上再编码回去就不对了,pr也无法识别

是不是要本地找一个程序执行,不能通过网页和复制黏贴来弄?
回复

使用道具 举报

     
发表于 2020-3-17 22:20 | 显示全部楼层
本帖最后由 mayourt 于 2020-3-17 22:32 编辑
hein 发表于 2020-3-17 22:04
感谢,中文懂了,不过不管中英文解码出来开头都有个“ࠒ”
然后在网页上再编码回去就不对了,pr也无法识别 ...

第一个去掉 FAgAAAAAAAB7ACIA ,第二个去掉 EggAAAAAAAB7ACIA ,这两个应该是包头,你可以改后面的然后用这个包头拼接下,看下对不对,现在怀疑  FAgA 和 EggA 是校验码,或者对应文件的序号,0x12(第18个) 0x14(第16个)

评分

参与人数 1战斗力 +10 收起 理由
hein + 10 好评加鹅

查看全部评分

回复

使用道具 举报

     
 楼主| 发表于 2020-3-17 23:47 | 显示全部楼层
本帖最后由 hein 于 2020-3-18 00:10 编辑
mayourt 发表于 2020-3-17 22:20
第一个去掉 FAgAAAAAAAB7ACIA ,第二个去掉 EggAAAAAAAB7ACIA ,这两个应该是包头,你可以改后面的然后用 ...

感谢
AAAAAAB7ACIA是json开头{"

FAgA好像是序号
现在有这些
EggA
FAgA
PggA

又开了个这两个
LggA
GggA




回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|上海互联网违法和不良信息举报中心|网上有害信息举报专区|962110 反电信诈骗|举报电话 021-62035905|Stage1st ( 沪ICP备13020230号-1|沪公网安备 31010702007642号 )

GMT+8, 2024-11-14 23:31 , Processed in 0.019384 second(s), 6 queries , Gzip On, Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表