Hi Peter,
 
Thanks very much for that link; it solved my problem.  
 
In case anyone needs a recipe in the future...  In order to convert from a 
Windows 1252 codepage into Unicode I placed a TCLCaller inline, which called 
the function "fixEncoding myField" and sourced a file that included the 
following text:
 
proc fixEncoding { fieldName } {
 
global FME_AttrEncoding
set origEncoding $FME_AttrEncoding
 
set FME_AttrEncoding cp1252
set myText [FME_GetAttribute $fieldName]
 
set FME_AttrEncoding unicode
FME_SetAttribute $fieldName $myText
 
set FME_AttrEncoding $origEncoding
                  
}
 
 
Thanks again,
Jason

________________________________

From: [email protected] on behalf of peter laulund
Sent: Wed 2005-06-22 12:38 AM
To: [email protected]
Subject: RE: [fme] Unicode Schmunicode...



Hi Jason

check this message it might help you
http://finance.groups.yahoo.com/group/fme/message/8197

Peter Laulund
National Survey and Cadastre, Denmark


>Reply-To: [email protected]
>To: <[email protected]>
>Subject: [fme] Unicode Schmunicode...
>Date: Mon, 20 Jun 2005 22:11:24 -0700
>
>Hi all,
>
>I have a need to write a Unicode-encoded string to an Access OLE Object
>(blob).  I have my string, and I can write it to the blob, but I'm missing
>the part where I convert it to Unicode.
>
>Is there any way I can do this kind of string manipulation in FME?  I've
>managed to fake it with a VB utility using the StrConv(string,vbUnicode)
>function, but I'd much rather do without this external app.
>
>Thanks,
>Jason
>
>--
>   Jason Birch
>   Information Technology Office, City of Nanaimo
>   455 Wallace St., Nanaimo, BC, Canada, V9R 5J6
>   Ph: 250-755-4460 x250  Fax: 250-755-4478




Get the maximum benefit from your FME, FME Objects, or SpatialDirect via our 
Professional Services team.  Visit www.safe.com/services for details. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/fme/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<<winmail.dat>>

Reply via email to