We always have our LANG setting set to en_GB.UTF-8 LANG=C is rubbish if you are going to be using any of the unibasic API's esp xml handling !
Unidata stores utf-8 no problem - as previously mentioned in this list there may well become issues if you use database sorts that include any multi byte characters. Setting Lang=utf8 does not necessarily mean you are storing utf-8. If you are storing utf-8 it is then important you know where you are storing it so you know how to interpret correctly (exactly why xml has the encoding specified at the top). Of course the beauty of utf-8 is that your normal alphanumeric characters are encoded in the same way as iso-8859-1 (or indeed ascii) so for western European languages you are fine. If you do not want en_GB.UTF-8 then may I suggest iso-8859-1. Another pointer - make sure your terminal emulator and any output devices (html, web service, green screen) are also set to the correct encoding. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of John Thompson Sent: 15 November 2011 16:32 To: Jonathan Leckie; U2 Users List Subject: Re: [U2] LANG=C in Unidata 6.1 (Linux) Don't know too much about it, but, I have not heard of any MV system supporting UTF-8 yet. So I would hesitate, to change that setting if I were you. I've heard of vendors working on the issue, but, thats about it. On Tue, Nov 15, 2011 at 9:21 AM, Jonathan Leckie < [email protected]> wrote: > Having the locale set as LANG=C causes some weirdness in a linux > command that is called from unidata, I know that the unidata manual > warns : "If you use a LANG setting other than "C," note that certain > UniData commands may cause unpredictable results, such as the > UniBasic UPCASE and DOWNCASE commands, and the MCU and MCL conversion > codes." but has anyone experienced any problems setting > LANG=en_GB.UTF-8? RegardsJonathan Leckie > > > > ********************************************************** > * This message has been scanned for viruses and dangerous content > * and is believed to be clean. > * > * This email and any files transmitted with it are confidential and > * intended solely for the use of the individual or entity to whom they > * are addressed. > * > * If you have received this email in error please notify us at Blairs, > * details can be found on our website http://www.blairswindows.co.uk > * > * Name & Registered Office: > * > * Blairs Windows Limited > * Registered office : 9 Baker Street, Greenock, PA15 4TU > * Company No: SC393935, V.A.T. registration No: 108729111 > ********************************************************** > _______________________________________________ > U2-Users mailing list > [email protected] > http://listserver.u2ug.org/mailman/listinfo/u2-users > -- John Thompson _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users ----- No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1411 / Virus Database: 2092/4017 - Release Date: 11/14/11 _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users
