#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)
Change History (6)
comment:1 by , 17 years ago
by , 17 years ago
Attachment: | sde-unicode.png added |
---|
comment:2 by , 17 years ago
Cc: | added |
---|---|
Milestone: | → 5.0 release |
Resolution: | → fixed |
Status: | new → closed |
by , 17 years ago
Attachment: | sde_unicode_1stchar.gif added |
---|
lables only first character of nvarchar2 field
comment:3 by , 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
r6555 completes this work. It was started in r5935, but did not work or do anything.