--
You received this message because you are subscribed to the Google Groups "InterSystems: Zen Community" group.
To post to this group, send email to InterSys...@googlegroups.com
To unsubscribe from this group, send email to InterSystems-Z...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/InterSystems-ZEN?hl=en
Zen Community Terms and Conditions: http://groups.google.com/group/InterSystems-ZEN/web/community-terms-and-conditions
Vu
You set Unicode mode (or not) when you do a Caché install
You can tell if it’s installed by
>write $zv
Cache for Windows (x86-32) 2009.1 (Build 446U) Thu Jul 9 2009 14:35:45 EDT
The U after the build number indicates a unicode install
I *think* you have to re-install Caché to move from non-Unicode to Unicode
Peter
--
You received this message because you are subscribed to the Google Groups
"InterSystems: Zen Community" group.
To post to this group, send email to InterSys...@googlegroups.com
To unsubscribe from this group, send email to
InterSystems-Z...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/InterSystems-ZEN?hl=en
Zen Community Terms and Conditions: http://groups.google.com/group/InterSystems-ZEN/web/community-terms-and-conditions
[quote]
I *think* you have to re-install Caché to move from non-Unicode to Unicode
[/quote]
Yes you can. It will just put the Unicode binaries on top. You can mount your existing .dats and off you go.
Note – once you have Unicode data in a DB, it can no longer be mounted to an 8-bit instance of Caché.
| pfc <p...@xisltd.net>
11/24/2009 08:35 AM
|
|
Ben
I thing that’s what I meant – ie do a re-install “over the top of the existing Caché” didn’t quite get from my brain to my fingers :}
Peter
Vu
Looks like you have a Unicode install – what’s the problem with “dealing with Unicode” that you are getting?
Is it on the file import – if so what code are you using ?
Peter
From: Vu Pham [mailto:Vu_...@bio-rad.com]
Sent: 24 November 2009 16:42
To: intersys...@googlegroups.com
Subject: RE: [InterSystems-Zen] UTF-8
Vu
What’s the code look like that you are using to import it -- or are you using some other method?
Peter
From: Vu Pham [mailto:Vu_...@bio-rad.com]
Sent: 24 November 2009 17:29
To: intersys...@googlegroups.com
Subject: RE: [InterSystems-Zen] UTF-8
--
You received this message because you are subscribed to the Google Groups
"InterSystems: Zen Community" group.
To post to this group, send email to InterSys...@googlegroups.com
To unsubscribe from this group, send email to
InterSystems-Z...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/InterSystems-ZEN?hl=en
Zen Community Terms and Conditions: http://groups.google.com/group/InterSystems-ZEN/web/community-terms-and-conditions
| pfc <p...@xisltd.net>
11/24/2009 09:39 AM |
|
|
| pfc <p...@xisltd.net>
11/24/2009 09:39 AM
|
|
Vu
:}
FYI
I used to do open/use/close but I find it’s much more compact code to use %Libray.File – no EOF trapping or code to test fro file there etc
Set oFile=##class(%Library.File).%New(“<file_name>”)
Set sc=oFile.Open(“R”)
If sc’=$$$OK quit sc
While ‘oFile.AtEnd {
Set xLine=oFile.ReadLine(10000)
If xLine =”” {
}else{
//process non blank line
}
}
Do oFile.Close()
And all the tests are encapsulated in the oFile object !!
| pfc <p...@xisltd.net>
11/24/2009 09:53 AM |
| Vlado <vili...@earthlink.net>
11/24/2009 10:04 PM
|
|
| Western European | 8859-15 | 1252 | 28605 |
| Central European | 8859-2 | 1250 | 28592 |
| Cyrillic | 8859-1 | 1251 | 28591 |
| Greek | 8859-7 | 1253 | 28597 |
| Turkish | 8859-9 | 1254 | 28599 |
| Hebrew | 8859-8 | 1255 | 28598 |
| Arabic | 8859-6 | 1256 | 28596 |
| Baltic Rim | 8859-4 | 1257 | 28594 |
| Korea | iso-2022-kr | 949 | 50225 |
| Japan (JIS) | N/A | 932 | 50220 |
| Vlado <vili...@earthlink.net>
11/30/2009 04:54 PM |
|
|