Unicode support needed

Bug #855418 reported by Colin Winning
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DB Version
In Progress
High
Colin Winning

Bug Description

dbversion needs to be able to support unicode files - whether this is through an indicator in database.xml or some other means.

Revision history for this message
Colin Winning (colinwinning) wrote :

When reading the file stream it uses Encoding.Default. Ideally the code would be smart enough to work out that it was a unicode file that it was reading and change the character encoding used but I think a more practical way of doing this would be to have an extra attribute in the database.xml file e.g. encoding="Encoding.Unicode" that would indicate which encoding to use when reading. This would default to Encoding.Default if no attribute was present.

Revision history for this message
Adam Connelly (adam-rpconnelly) wrote : Re: [Bug 855418] Re: Unicode support needed

That sounds good. The only thing I'd add is it might be worth adding a
property so that you can default the encoding at the application or
archive level. That way if you only have one Unicode file you can
specify it against the task, but if you know all your files are
Unicode you can specify it once in the archive properties.

On 29 Sep 2011, at 12:47, Colin Winning <email address hidden> wrote:

> When reading the file stream it uses Encoding.Default. Ideally the code
> would be smart enough to work out that it was a unicode file that it was
> reading and change the character encoding used but I think a more
> practical way of doing this would be to have an extra attribute in the
> database.xml file e.g. encoding="Encoding.Unicode" that would indicate
> which encoding to use when reading. This would default to
> Encoding.Default if no attribute was present.
>
> --
> You received this bug notification because you are subscribed to DB
> Version.
> https://bugs.launchpad.net/bugs/855418
>
> Title:
> Unicode support needed
>
> Status in DB Version:
> New
>
> Bug description:
> dbversion needs to be able to support unicode files - whether this is
> through an indicator in database.xml or some other means.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dbversion/+bug/855418/+subscriptions

Changed in dbversion:
assignee: nobody → Colin Winning (colinwinning)
importance: Undecided → High
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.