Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sorteringsrekkefølge for æøå i PostgreSQL
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Scandinavian
View previous topic :: View next topic  
Author Message
twinther
n00b
n00b


Joined: 06 Mar 2005
Posts: 1

PostPosted: Sun Mar 06, 2005 4:54 pm    Post subject: Sorteringsrekkefølge for æøå i PostgreSQL Reply with quote

Hei,

jeg har problemer med å få til riktig sorteringsrekkefølge i min PostgreSQL-database (versjon 8.01).
Følgende spørring...

SELECT * FROM sted ORDER BY navn;

...gir bl.a. følgende resultat:

id navn
------------
34 østfold
38 ålesund
49 ærvik

Siden det etter hvert vil bli aktuelt å putte inn verdier på andre språk enn norsk, kjørte jeg følgende for å opprette basen:

createdb --encoding=UTF-8 testbase

Vet noen om det er mulig å få til riktig æøå-sortering mens man kjører Unicode i PostgreSQL?

Jeg kjører kernel 2.4.28-gentoo-r5, i tilfelle det har noe å si.

På forhånd takk,
Thomas Winther
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Scandinavian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum