| Anonymous | Login | Signup for a new account | 03-12-25 23:11 CET | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
| 0001715 | SphereServer | executable - generic | public | 30-01-10 18:21 | 31-01-10 13:54 | ||||||
| Reporter | xantier | ||||||||||
| Assigned To | |||||||||||
| Priority | normal | Severity | tweak | Reproducibility | always | ||||||
| Status | new | Resolution | open | ||||||||
| Platform | OS | OS Version | |||||||||
| Product Version | 0.56c Nightly | ||||||||||
| Target Version | Fixed in Version | ||||||||||
| Summary | 0001715: String functions for unicodes ? | ||||||||||
| Description | I'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. | ||||||||||
| Tags | No tags attached. | ||||||||||
| Nightly Version | Not Available | ||||||||||
| Experimental Flags | Unicode | ||||||||||
| Option Flags | None | ||||||||||
| Internal Build Number | |||||||||||
| Attached Files | |||||||||||
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 |