OK, here is an i18n issue:

I cfhttp a thing (actually a text-file) encoded as "Little-endian UTF-16
Unicode English character data, with CRLF, CR line terminators" (this is
what file.exre reports, saved from excel as 'unicode text').

So cfhttp.filecontent contains this string as a string. How do I convert
this to utf-8? The file actually contains only latin1 characters, so
that might have been a better solution for the time being (though not
future-proof).

I solved this by cfhttp:ing the file as binary, and then doing a
ToString(cfhttp.filecontent,"utf-16") conversion -- but it feels like a
dirty hack. Are there no cf way to cast/encode strings back and forth?
And if not, are there java things for this?

/me sits back and waits for a response from Paul H.

PS. Paul H., I have an open i18n issue/thread on the ESRI ArcIMS forums,
if you are curious/interested.

/Hugo


--
Hugo Ahlenius

-------------------------------------------------------------
Hugo Ahlenius                  E-Mail: [EMAIL PROTECTED]
Project Officer                Phone:            +46 8 230460
UNEP GRID-Arendal              Fax:              +46 8 230441
Stockholm Office               Mobile:         +46 733 467111
                               WWW:       http://www.grida.no
------------------------------------------------------------- 





###########################################

This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.f-secure.com/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206747
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to