Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Excel Unicode Datei mit Chinesischen Schriftzeichen Einlesen\Exportieren

Empfohlene Antworten

Hallo

ich möchte mit VBA eine unicode codierte datei Importieren und wieder Exportieren können.

in dieser datei sind folgende einträge:

ALRM_DE_L04=机器人

sprich der ID ALRM_DE_L04 wird ein chieneischer text zugewiesen

der ISO CODE von chinesisch ist "zh-CN"

kann mir jemand tipps geben wie ich das in Excel ein lesen kann ohne das er mir nur ????? anzeigt.

die datei öffne ich mit OpenAsTextStream(ForReading, TristateTrue) als unicode, der string nach dem einlesen sieht wie folgt aus

"ALRM_DE_L04 =????"

weiß nicht ob hier mehr code pasten soll ?

Set fs = CreateObject("Scripting.FileSystemObject")

Set ts = f.OpenAsTextStream(ForReading, TristateTrue)

Do While Not ts.atEndOfStream

Value = ts.ReadLine

'irgend etwas mit dem string (value) machen ......

loop

mit der ende bedingung ts.atEndOfStream müsst ich noch mal schauen das aber nebensächlich :-)

gruß

Nokinger

Hi

war ja blöd stand ja alles schon im string drin man, bloss beim Debugen kann er durch die Textformatierung es nicht darstellen .

blöd muss man sein hab zwischenzeitlich alles mögliche versucht mit umrechnung in decimal usw.

naja egal

selber antworten macht spass und ärger :-)

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.