[Vtigercrm-commits] [vtiger development] #5544: Google Map can't work for Japanese or Chinese address

vtiger development vtiger-tickets at trac.vtiger.com
Mon Mar 9 13:58:03 EDT 2009


#5544: Google Map can't work for Japanese or Chinese address
-----------------------+----------------------------------------------------
 Reporter:  hhokawa    |       Owner:  developer 
     Type:  defect     |      Status:  new       
 Priority:  minor      |   Milestone:  5.1.0     
Component:  vtigercrm  |     Version:  5.1.0-val1
 Keywords:             |  
-----------------------+----------------------------------------------------
 Google Map garbled when Japanese or Chinese address is entered, as
 attachment.

 My solution is as attachment
 - Accounts.js,Contacts.js,Leeds.js modified
 - modified portion is marked by //JFV ~ //JFV END in files

  Solution description:
   1. Only when entered country is Japan/China/Taiwan/ROC/HongKong
      in Chinese characters. Minimum affection to current code logic.
   2. Address order sorted as Country->State->City->Street
   3. Convert address using encodeURIComponent() to avoid garbled chars
   4. Open respective japan/china/hongkong/taiwan's google map based on
 country
   5. Modified *.js should be saved with UTF-8 encoding.

 This issue also happened even using engilsh UI when entered Japan/China
 address, so hope main trunc also have this kind of solution to solve this.

-- 
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/5544>
vtiger development <http://trac.vtiger.com/>
vtigerCRM




More information about the vtigercrm-commits mailing list