[TYPO3-dev] t3lib_ts:UnumberToChar(), was: UTF problems on AIX

Martin Kutschker martin.kutschker-n0spam at no5pam-blackbox.net
Thu Mar 9 23:04:15 CET 2006


Dimitri Tarassenko schrieb:
> Hello All,
> 
> Who is currently working on t3lib_ts (charset conversions)? I am
> copying Martin Kutschker on this but maybe someone has any experience
> with the problem as well.

Kasper and I did code all of the routines.


> This is a forward from TYPO3-Linux - Marius is running AIX on rs/6000,
> which is big-endian 64-bit. Apparently, there are some problems in
> Unicode number to UTF conversion that is done via byte-shifting, and
> UnumberToChar() goes in an undefinite loop.
> 
> Anyone seen this before / knows how to fix?

Well, I've to admit that I was aware that bitshifting may pose a 
problem, but I never thought that we will run across a user that runs 
TYPO3 on somethig like an RS/6000.

Easiest local fix is a XCLASS extension for your endianess. Or an 
alogrithm that doesn't do bit-arithmetics. Though I think this is the 
fastest possible way.

Masi




More information about the TYPO3-dev mailing list