---
title: "cookie 中特殊字符escape，unescape"
author: "teclogid"
date: "2010-01-16T02:15:19Z"
tags: ["Firefox", "IE", "Java"]
categories: ["编程语言"]
slug: "cookie-escape-unescape"
draft: false
lastmod: "2010-01-16T02:15:19Z"
id: 571820
url: "https://teclogid.iteye.com/blog/571820"
---

cookie 中特殊字符在firefox下正常，在ie下不行。需要escape，unescape（js） ，java中使用urlencoder.encode()和urldecoder.decode();