Re: echo logger and i18n changes

B.Kamer <[email protected]> Thu, 30 Jun 2005 11:19:57 +0200
Newsgroups gmane.comp.lib.binarycloud.devel
Message-ID <[email protected]>
On Jun 30, 2005, at 8:52, Jean-Christophe Michel wrote:

> Hi Bas,
>
> Seems that your last changes made some big pb here:
> 1. I get pages with half output only and a single php error in log:
> PHP Notice:  Unknown(): Detected illegal character in input string in
> Unknown on line 0
>

This is due to that the output encoding (from utf-8 to  
output_encoding) breaks on illigal chars. It breaks on places (in  
html source) were special chars are supposed to be.

If you use Creole directly (not via Simpleentity, you must now en/ 
recode yourself... If you're getting half pages, it means that  
something is not encoded properly. I had the same here all the time.  
That error comes from iconv.


As far as I know it this is the encoding scheme now done performed.


 > CLIENT (encoded x)
|
 > Binarycloud converts GET/POST/INTERNAL from output_encoding (x) to  
utf-8 in nodes
|
 > Nodes (utf-8) <=> Simpleentity (utf-8) converts from utf-8 to  
db_encoding (y) for storing and visaversa for querying
|                                    > Database (encoded as y)
|                           <=> Creole (you must convert yourself now)
|                                    > Database (encoded as y)
|                           <=> OtherDBRM (you must convert yourself)
|                                    > Database (encoded as y)
|                           <=> Templates (utf-8)
|
 > Nodes output from utf-8 to x output encoding
|
 > CLIENT encoding (x)


also
Make sure you have the latest addition to i18n & simpleentity from  
yesterday, because only strings should may (null becomes '') be  
translated with 118n::iconv_recursive

_______________________________________________
dev mailing list
dev-PnctHDZWAvB/Cz2I37pSEPZ4XP/[email protected]
http://lists.binarycloud.com/mailman/listinfo/dev