Re: [xslt] How to send   to not UTF-8 html output ?



Hi Vladimir,

"Vladimir B. Grebenschikov" <vova@sw.ru> wrote:

>  3c 68 74 6d 6c 3e 0a 3c  68 65 61 64 3e 3c 6d 65  |<html>.<head><me|
>  74 61 20 68 74 74 70 2d  65 71 75 69 76 3d 22 43  |ta http-equiv="C|
>  6f 6e 74 65 6e 74 2d 54  79 70 65 22 20 63 6f 6e  |ontent-Type" con|
>  74 65 6e 74 3d 22 74 65  78 74 2f 68 74 6d 6c 3b  |tent="text/html;|
>  20 63 68 61 72 73 65 74  3d 4b 4f 49 38 2d 52 22  | charset=KOI8-R"|
>  3e 3c 2f 68 65 61 64 3e  0a 3c 62 6f 64 79 3e 0a  |></head>.<body>.|
>  20 20 20 20 20 20 20 20  5b 9a 5d 0a 20 20 20 20  |        [.].    |
>  20 20 3c 2f 62 6f 64 79  3e 0a 3c 2f 68 74 6d 6c  |  </body>.</html|
>  3e 0a                                      |>.|

Hmmm. 0x9A is KOI8-R for no break space (= U+00A0 = &160;)

http://www.faqs.org/rfcs/rfc1489.html

> Of course browser (I have tried MSIE, Mozilla, Opera) refuses to show
> non-breaking spache in case of KOI8-R output encoding.

File bugs against those browsers. Not that it would help in case of MSIE.

Regards,
Peter Jacobi




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]