octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #59203] [octave forge] (io) Problem with xlsre


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #59203] [octave forge] (io) Problem with xlsread importing accent marks
Date: Fri, 9 Oct 2020 14:59:04 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #30, bug #59203 (project octave):

I did the following:

>> [~, unotxt] = xlsread ("Unicode.xlsx", "", "", "uno")
unotxt =
{
  [1,1] = a
  [2,1] = ��
  [3,1] = ��
  [4,1] = ��
  [5,1] = ���
  [6,1] = ������
}
>> unotxt16 = cellfun ("uint16", (unotxt), "uni", 0)
unotxt16 =
{
  [1,1] = 97
  [2,1] =
    195  132
  [3,1] =
    195  159
  [4,1] =
    195  151
  [5,1] =
    225  185  151
  [6,1] =
    237  160  180  237  180  158
}


and the same for poi:

:
>> poitxt16 = cellfun ("uint16", (poitxt), "uni", 0)
poitxt16 =
{
  [1,1] = 97
  [1,2] =
    195  132
  [1,3] =
    195  159
  [1,4] =
    195  151
  [1,5] =
    225  185  151
  [1,6] =
    240  157  132  158
}


Is this what you meant?
The numbers in comment #29 match what I see. uint8 or uint16 makes no
difference.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59203>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]