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

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

[Octave-bug-tracker] [bug #59214] [octave forge] (windows) The COM inter


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #59214] [octave forge] (windows) The COM interface should handle UTF-8 encoded strings
Date: Fri, 2 Oct 2020 07:29:33 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36 Edg/85.0.564.63

URL:
  <https://savannah.gnu.org/bugs/?59214>

                 Summary: [octave forge] (windows) The COM interface should
handle UTF-8 encoded strings
                 Project: GNU Octave
            Submitted by: mmuetzel
            Submitted on: Fri 02 Oct 2020 01:29:31 PM CEST
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: other
         Discussion Lock: Any
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

There is an ongoing effort to have a uniform encoding for strings inside
Octave and to move conversions to the interfaces.
Some time back, we decided that this encoding should be UTF-8.

The COM interface of the windows package uses the system's locale encoding for
strings passed to and from COM objects. The attached patch uses functions
introduced in core Octave 5 to convert to and from UTF-8 instead.
It applies on top of the released version 1.5.0.

I'm not sure which versions of Octave are targeted for the windows package.
But you probably want to use those functions conditionally on a configure
result.

Apart from the missing configure check, does that look ok to you?



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 02 Oct 2020 01:29:31 PM CEST  Name: of-windows-1-COM_encoding.patch 
Size: 1KiB   By: mmuetzel

<http://savannah.gnu.org/bugs/download.php?file_id=49915>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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