(car (split-string accept-language ","))
";"))
"-"))))
- ret)
+ ret genre)
(princ "Content-Type: text/html; charset=UTF-8
<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"
(setq target
(mapcar (lambda (cell)
(if (string-match "=" cell)
- (cons
- (intern
- (decode-uri-string
- (substring cell 0 (match-beginning 0))
- 'utf-8-mcs-er))
- (substring cell (match-end 0)))
+ (progn
+ (setq genre (substring cell 0 (match-beginning 0))
+ ret (substring cell (match-end 0)))
+ (cons
+ (intern
+ (decode-uri-string genre 'utf-8-mcs-er))
+ ret))
(list (decode-uri-string cell 'utf-8-mcs-er))))
(split-string target "&")))
(setq ret (car target))