Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#2225 closed defect (fixed)

Support Unicode for ArcSDE 9.2 and above

Reported by: hobu Owned by: sdlime
Priority: normal Milestone: 5.0 release
Component: MapServer C Library Version: unspecified
Severity: normal Keywords:
Cc: sdlime

Description

ArcSDE 9.2 adds support for unicode data attributes. We can use msGetEncodedString to convert these UTF-16 data into something MapServer can render.

Attachments (2)

sde-unicode.png (2.8 KB ) - added by hobu 17 years ago.
sde_unicode_1stchar.gif (14.9 KB ) - added by hpbrantley 17 years ago.
lables only first character of nvarchar2 field

Download all attachments as: .zip

Change History (6)

comment:1 by hobu, 17 years ago

r6555 completes this work. It was started in r5935, but did not work or do anything.

by hobu, 17 years ago

Attachment: sde-unicode.png added

comment:2 by hobu, 17 years ago

Cc: sdlime added
Milestone: 5.0 release
Resolution: fixed
Status: newclosed

by hpbrantley, 17 years ago

Attachment: sde_unicode_1stchar.gif added

lables only first character of nvarchar2 field

comment:3 by hpbrantley, 17 years ago

Rendering labels with svn from 8/15/2007, unicode lables only draws first character.

Mapfile fragment


LAYER

NAME 'ROADNAMES' METADATA

"wms_title" "roadnames"

END CONNECTIONTYPE SDE CONNECTION '127.0.0.1,port:5151,sde,user,password' DATA 'SDE.CENTERLINES,SHAPE,SDE.DEFAULT' PROCESSING "CLOSE_CONNECTION=DEFER" DUMP TRUE PROJECTION

"init=epsg:2274"

END TYPE ANNOTATION STATUS ON LABELITEM 'STREET_NAME' CLASS

STYLE

COLOR 212 207 199

END LABEL

ANGLE FOLLOW MINDISTANCE 800 FONT sans TYPE TRUETYPE SIZE 6 BUFFER 15 COLOR 0 0 0 BACKGROUNDCOLOR -1 -1 -1 OUTLINECOLOR 255 255 255 #FORCE TRUE

END

END

END

comment:4 by hobu, 17 years ago

r6604 and r6602 add the proper support to be able to use do this

Note: See TracTickets for help on using tickets.