I have downloaded spatial data from the USGS website that comes in a .dat format, which I can't read in textedit either - it just says "../ofr041189it03/vat.adf". I am familiar with STATA, ArcGIS, and GeoDA, so I was hoping to convert it into a type that can be read by any of these programs (preferably STATA), but don't know how. Any ideas?
Open a New Blank Excel file
In Excel
Go to Data tab
Select From Text
Select the .dat file which you want to open(Note: Select "All files" in dropdown box)
Click Import
Check Delimited and click next
Deselect the tab and select Other and give "|"(Tab symbol) then click next
Click finish and Ok
Related
I'm trying to create a CSV table which has emoji's in it and send it as an attachment via logic app. So far, my app creates the JSON with the emoji's in it fine, and it looks as though the input going into the Create CSV Table action is also fine. But when I download the CSV created from my email, the emoji's are in gibberish and I realise that is because the CSV has been created without a BOM marker.
Any ideas how I can fix this? I've already tried the below solution but I don't think it works because of the conversion from CSV into bytes required to attach a file to an email.
https://techcommunity.microsoft.com/t5/integrations-on-azure-blog/create-csv-files-with-bom-marker-in-logic-app/ba-p/2919113
One of the workaround is to transform the downloaded csv file. In order to print the emojis to the csv file follow the below steps
Open Microsoft Excel.
Navigate to Data >> Get External Data >> From Text.
Add the location of the CSV file, that you want to import and click Transform Data. make sure you choose the file Origin to 65001: Unicode (UTF-8) and Delimiter to comma.
Then the file will open in a Power Query Editor.
Navigate to Home >> Close and Load.
Now you can see the pictures getting inserted to your file.
Before:-
After:-
My apologies if a solution has been provided elsewhere. I have searched and could not find anything similar to what I am experiencing. I am trying to upload categories on a Magento CE 2.1.1 website. I have a file with almost 4000 categories and sub categories and the only practical way is to upload via a csv file.
I downloaded a sample file to use and when I upload the same sample file it's working fine when I click Check data" button. However, when I replace the values on the rows with my own and save the file as csv with UTF-8 text encoding, I am getting an error message below. This is also happening when I save the file as csv even without changing the values. I have tested this with a csv file saved from both Mac Numbers and Windows Excel.
I only need to upload Categories (and not products) but I am not sure if this is possible.
File links:
Importing
Not importing
Actual project sample file
The files are quite similar but strangely one is working and the other is not.
Error
We can't find required columns: sku.
Column names: "sku;store_view_code;attribute_set_code;product_type;categories;product_websites;name;description;short_description;weight;product_online;tax_class_name;visibility;price;special_price;special_price_from_date;special_price_to_date;url_key;meta_title;meta_keywords;meta_description;base_image;base_image_label;small_image;small_image_label;thumbnail_image;thumbnail_image_label;swatch_image;swatch_image_label;created_at;updated_at;new_from_date;new_to_date;display_product_options_in;map_price;msrp_price;map_enabled;gift_message_available;custom_design;custom_design_from;custom_design_to;custom_layout_update;page_layout;product_options_container;msrp_display_actual_price_type;country_of_manufacture;additional_attributes;qty;out_of_stock_qty;use_config_min_qty;is_qty_decimal;allow_backorders;use_config_backorders;min_cart_qty;use_config_min_sale_qty;max_cart_qty;use_config_max_sale_qty;is_in_stock;notify_on_stock_below;use_config_notify_stock_qty;manage_stock;use_config_manage_stock;use_config_qty_increments;qty_increments;use_config_enable_qty_inc;enable_qty_increments;is_decimal_divided;website_id;related_skus;related_position;crosssell_skus;crosssell_position;upsell_skus;upsell_position;additional_images;additional_image_labels;hide_from_product_page;bundle_price_type;bundle_sku_type;bundle_price_view;bundle_weight_type;bundle_values;bundle_shipment_type;associated_skus" are invalid
This might be because you opened the file in Excel which will add a BOM to the start of the file. When the Magento importer tries to read the file, it expects the first header/cell to say sku, but it instead sees the BOM.
Two ways to solve this:
1) Don't open it in excel - use Google sheets, or a text editor if you are feeling brave,
2) If you opened the file in excel, close it, open it in notepad++, click encoding up the top and set to "Encode in UTF-8" (NOT "Encode in UTF-8-BOM"). Then save and you are good to go.
I have a CSV file with a list of products and I'm trying to import them from back office.
My website include French and Arabic language.
I succeeded importing product in French but I'm having issue with Arabic language is give me name of product in interregation points :(
I'm using Prestashop 1.6.
Resolved
Hello finally i found the solution about issue the saved csv in UTF8 you can follow this steps:
1. In Microsoft Excel, open the *.xlsx file.
2. Select Menu | Save As.
3. Enter any name for your file.
4. Under "Save as type," select Unicode Text.
5. Click Save.
6. Open your saved file in Microsoft Notepad.
7. Replace all tab characters with commas (",").
Select a tab character (select and copy the space between two column headers)
Open the "Find and Replace" window (Press Ctrl+H) and replace all tab characters with comma .
8. Click Save As.
9. Name the file, and change the Encoding: to UTF-8.
10. Change the file extension from ".txt" to ".csv".
11. Click Save.
12. Open the .csv file in Excel to view your data.
So I downloaded this file off the web and its in CSV format but saved as a txt. It has every thing separated by commas and everything but I am having trouble making it a CSV file. When I go to "save as", to try to save it as a CSV, I don't see the option to save it as a CSV.
It's difficult to answer not knowing what software you are using.
Try to open the file using Microsoft Excel and then save it as CSV.
If Excel won't open it, then copy-paste the data from the text file to a new Excel workbook in top left cell then use the function "Text to Columns" located in the "Data" tab.
The wizard will then help you convert your data from any CSV format which you will then be able to save as CSV file.
Open the CSV file in Notepad. Save as AllFiles, and filename.csv. Now this *.txt file will exist alongside a new file filename.csv in the same directory. Now you can open this csv file in excel. (make sure you choose all files here also otherwise the csv file won't be visible)
I am trying to open a .csv file in my Mac, using Excel 2008. Currently, every time I try opening the file, my Mac defaults to OpenOffice.org 3. I never had this problem. I always used to be able to open csv files with Excel.
Where do I go to change the default spreadsheet program for opening csv files back to Excel?
Thank you.
CTRL+Click or Right Click on the CSV file, click on "get info" option. In the popup at the bottom under "opens with", select the application you want to associate with this file e.g. excel.
This works for changing the file associations for most files.