Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何从 ISO-8859-1 转换为 UTF-8 (Javascript)?
通常你不需要,因为 javascript 字符串是 unicode。我假设您想阅读 ISO-8859-1 源并编写 UTF-8 输出。但在这种情况下,这取决于你想读什么和你想写什么。所以请更具体。