Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
DBCS versus skip_backward
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Peter Gibbs  
View profile  
 More options Nov 3 2003, 5:48 am
Newsgroups: perl.perl6.internals
From: pe...@emkel.co.za (Peter Gibbs)
Date: Mon, 3 Nov 2003 12:17:52 +0200
Local: Mon, Nov 3 2003 5:17 am
Subject: DBCS versus skip_backward
Whilst attempting to implement DBCS encoding, I have discovered that
skip_backward cannot be implemented for this encoding style, due to the
mixture of 1-byte and 2-byte characters.

Some of the available options:
1) Throw an exception if somebody tries to skip_backward in a DBCS
    string
2) Standardise on a single Unicode format for all internal string
    processing
3) Convert all strings in DBCS encoding to another format, either always
    or only when skip_backward is invoked
4) Pass additional context information to skip_backward, so it can fall
    back to counting forward when required
5) Remove skip_backward completely
6) Do not support DBCS encoding
7) Create an index for DBCS strings (i.e. a map of character offset
    versus byte offset) - this would also require that skip_backward
    receive additional data

More options, preferences, comments, etc all welcome.

Regards
Peter Gibbs
EmKel Systems


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Strings PDD" by Michael Scott
Michael Scott  
View profile  
 More options Nov 3 2003, 7:48 am
Newsgroups: perl.perl6.internals
From: michael_sc...@mac.com (Michael Scott)
Date: Mon, 3 Nov 2003 13:26:24 +0100
Local: Mon, Nov 3 2003 7:26 am
Subject: Strings PDD
In an attempt to understand what the plan is with regard to ICU and  
Parrot strings in general, I've been gathering together links to  
previous bits of discussion on:

http://www.vendian.org/parrot/wiki/bin/view.cgi/Main/
ParrotDistributionUnicodeSupport

Obviously what is still needed is a Strings PDD. I wonder could we  
write it interactively on the wiki?

Mike

On 3 Nov 2003, at 11:17, Peter Gibbs wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »