I found the issue. It was an easy one, took only 15 min.
The issue is that resin passes static files's content as-is, namely byte by byte but it sends the content encoding in the HTTP response header with the system property value. In pratice: all FCKeditor files are in UTF-8 which is the best way to do but since windows uses crappy CP1252 resin sends this as encoding and the browser interpretes the BOM of the files as CP1252 chars and fails.
You either find a way to tell resin to detect file encoding automatically and deliver it that way or do what I did. Pass "C:\...>resin start -Dfile.encoding=UTF-8" and it works perfectly.
Re: Resin 4.0.2 can not work with fckeditor2.6.5
Re: Resin 4.0.2 can not work with fckeditor2.6.5
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; CIBA)
Fri, 12 Mar 2010 03:02:30 UTC
Information:: need ':'
Line: 44
Character: 591
code: 0
URI: http://localhost:8000/fckeditor/editor/ ... code_ie.js
Information:: 'FCKConfig' not defined
Line: 27
Character: 1
code: 0
URI: http://localhost:8000/fckeditor/fckconfig.js
Information:: 'FCKBrowserInfo' not defined
Line: 125
Character: 1
code: 0
URI: http://localhost:8000/fckeditor/editor/ ... lbar=Basic
Information:: not object found
Line: 164
Character: 1
code: 0
URI: http://localhost:8000/fckeditor/editor/ ... lbar=Basic
Information:: 'FCKTools' not defined
Line: 176
Character: 1
code: 0
URI: http://localhost:8000/fckeditor/editor/ ... lbar=Basic
Information:: not object found
Line: 195
Character: 1
code: 0
URI: http://localhost:8000/fckeditor/editor/ ... lbar=Basic
Information:: 'FCKLang' not defined
Line: 203
Character: 1
code: 0
URI: http://localhost:8000/fckeditor/editor/ ... lbar=Basic
Information:: 'FCKBrowserInfo' not defined
Line: 270
Character: 1
code: 0
URI: http://localhost:8000/fckeditor/editor/ ... lbar=Basic
Information:: not object found
Line: 210
Character: 2
code: 0
URI: http://localhost:8000/fckeditor/editor/ ... lbar=Basic
Re: Resin 4.0.2 can not work with fckeditor2.6.5
FCKeditor.Java: 2.6
Resin 4.0.2 , 4.0.3 and the lastest 4.0.4 are all have the same question.
Re: Resin 4.0.2 can not work with fckeditor2.6.5
Re: Resin 4.0.2 can not work with fckeditor2.6.5
Re: Resin 4.0.2 can not work with fckeditor2.6.5
I found the issue. It was an easy one, took only 15 min.
The issue is that resin passes static files's content as-is, namely byte by byte but it sends the content encoding in the HTTP response header with the system property value. In pratice: all FCKeditor files are in UTF-8 which is the best way to do but since windows uses crappy CP1252 resin sends this as encoding and the browser interpretes the BOM of the files as CP1252 chars and fails.
You either find a way to tell resin to detect file encoding automatically and deliver it that way or do what I did. Pass "C:\...>resin start -Dfile.encoding=UTF-8" and it works perfectly.
Mike
Re: Resin 4.0.2 can not work with fckeditor2.6.5
You may try this: http://www.caucho.com/resin-4.0/doc/env ... r-encoding
Re: Resin 4.0.2 can not work with fckeditor2.6.5