View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001715SphereServerexecutable - genericpublic30-01-10 18:2131-01-10 13:54
Reporterxantier 
Assigned To 
PrioritynormalSeveritytweakReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version0.56c Nightly 
Target VersionFixed in Version 
Summary0001715: String functions for unicodes ?
DescriptionI'm trying to implement old style uo font for era accuracy and i encountered some problems. As you know there is no unicode in old uo fonts but i want to convert them to ascii. There are problems. For example, '?' ;
? to s

"if strmatch(<asc <strsub <dlocal._for> 1 <args>>>,<asc ?>)
local.text .=s"

Strsub doesn't work by unknown problem. And <asc ?> shows me two words "0fffff1e 0fffff3e" unlike other characters (069 , 032 etc.)

Strlen shows '?' as 2 characters.

There must be a function that works for both unicode and ascii.. Strsub and strlen must be fixed for unicodes (2-char problem). I cannot split sentences with unicode characters.
TagsNo tags attached.
Nightly VersionNot Available
Experimental FlagsUnicode
Option FlagsNone
Internal Build Number
Attached Files? file icon f_charsets.scp (Attachment missing)

- Relationships

-  Notes
(0000374)
xantier (reporter)
31-01-10 01:58

the character shown like ? is not question mark, it's just 's' with extension (unicode)
(0000375)
dzhony (reporter)
31-01-10 13:51

Some time ago, I've developed scripted solution of this problem, maybe it is worth publishing in this bug report :)
(0000376)
dzhony (reporter)
31-01-10 13:54

P.S. The comments and examples in the head of the script may be out of date, but the main code should work well

- Issue History
Date Modified Username Field Change
30-01-10 18:21 xantier New Issue
30-01-10 18:21 xantier Nightly Version => Not Available
30-01-10 18:21 xantier Experimental Flags => Unicode
30-01-10 18:21 xantier Option Flags => None
31-01-10 01:58 xantier Note Added: 0000374
31-01-10 13:51 dzhony File Added: f_charsets.scp
31-01-10 13:51 dzhony Note Added: 0000375
31-01-10 13:54 dzhony Note Added: 0000376


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker