Mount Power
 
Picture

Pokrewne:

Cytat:

UTF-8 ?!





Wiaz - Pon Sie 06, 2007 5:05 am
" />sqlitestudio without utf-8?
if i have database encoded in utf-8 i cannot see in sqlitestudio proper characters! And one more thing:

Kod:unmatched open brace in list
    while executing
"foreach w [concat [list [list # $_rowNum]] $data] {
      set name [lindex $w 0]
      set value [lindex $w 1]
      $_tree item style set $it $_colItem($name) s_..."
    (object "::.mainWin.d.r.win4.main.tabs.data.tabs.grid.grid" method "::DataGrid::addRowPairs" body line 3)
    invoked from within
"$_dataGrid addRowPairs [encoding convertfrom utf-8 $data] $rowid"
    invoked from within
"::database0 eval {SELECT [id], [nazwa], [id_pref_dostawca], [id_typ], [magazyn], [magazyn_w_drodze], [uwagi], ROWID as ___rowid___ FROM [element] LIMI..."
    ("uplevel" body line 1)
    invoked from within
"uplevel "$_db eval $args""
    (object "::dB0" method "::DB::eval" body line 1)
    invoked from within
"$_db eval "SELECT $cols, ROWID as ___rowid___ FROM \[$_table] LIMIT $resultsPerPage OFFSET [expr {$resultsPerPage*$_page}]" R {
      set col 1
      set data..."
    (object "::tableWin3" method "::TableWin::refreshData" body line 22)
    invoked from within
"refreshData"
    ("*data*" arm line 3)
    invoked from within
"switch -glob -- [$_tabs select] {
      "*cols*" {
         $_colsGrid setSelection
      }
      "*data*" {
         if {!$_dataRead} {
            refreshData
         }

         update
         af..."
    (object "::tableWin3" method "::TableWin::focusTab" body line 8)
    invoked from within
"::tableWin3 focusTab"
    (command bound to event)

this error you will get if you'll have field with letter '¯' coded in utf-8 as 0x017B !hmm i dont know why....




Wiaz - Pon Sie 06, 2007 5:09 am
" />I know already! utf-8: 0x017B you divide into 0x01 and 0x7B and 0x7b is code of brace bracket: { !!!!



Wiaz - Pon Sie 06, 2007 5:15 am
" />Hmmm ... i think (after this error) that i can write tcl/tk script and put it into database and, i think, your sqlitestudio can run this?????? is it true?!?! :D



Googie - Pon Sie 06, 2007 9:48 am
" />Not, it's not true. This is simply error related to way that Tcl handles it's data as a List.

Your investigation is very helpful, thanks! I'll take care of it for a moment.
  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • przeloty.htw.pl