Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-16-2010, 06:35 AM
Intermediate Member
 
Posts: 21
Default Special characters in command line

Hi,
I need to use special characters using zimbra commands
for example: zmprov ma test@example.com displayName āēŗ
Is it possible to do that? Because now it displays in unrecognisable characters.

I use ZCS 6 on ubuntu linux.
thnx
Reply With Quote
  #2 (permalink)  
Old 04-16-2010, 07:00 AM
Partner (VAR/HSP)
 
Posts: 186
Default

This issue is caused by LC environment Settings in .bash_profile in /opt/zimbra.

Code:
export LANG=C
will not work as expected since this most likely does not match with your systems settings in /etc/default/locale. If you change this value in /opt/zimbra/.bash_profile to

export LANG=en_US.ISO-8859-1

or whatever your System setting is (mostly UTF8 these days), all
is working fine on the command line too.

Regards

Andreas
Reply With Quote
  #3 (permalink)  
Old 04-19-2010, 03:02 AM
Intermediate Member
 
Posts: 21
Default

I have UTF-8 in /etc/default/locale.
When i set UTF-8 in /opt/zimbra/.bash_profile then it works fine when i write in console but whe i execute zmprov command then doesn't work special symbols.
I tryed command: zmprov ma test@example.com sn ēēēāāā.
After this command in web interface there are not these symbols. But if i change them in web admin site then it works fine.
Problem is that i have over 100 users to change settings where are special symbols like ēāī.
I tryed load from file these names but same problem.
Reply With Quote
  #4 (permalink)  
Old 04-19-2010, 04:24 AM
Partner (VAR/HSP)
 
Posts: 186
Default

you may try to quote the names e.g.

Code:
zmprov ma test@example.com displayName 'āēŗ'
Reply With Quote
  #5 (permalink)  
Old 04-19-2010, 05:19 AM
Intermediate Member
 
Posts: 21
Default

Still nothing.
I tryed "āēŗ" and 'āēŗ'

Interesting than from root user i can use special symbol commands. But zimbra commands doesn't work from root user.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.